Path: utzoo!attcan!uunet!world!unixland!bill From: bill@unixland.uucp (Bill Heiser) Newsgroups: comp.unix.admin Subject: Re: Starting accounting Keywords: acct file Message-ID: <1990Oct7.023143.12608@unixland.uucp> Date: 7 Oct 90 02:31:43 GMT References: <1007@oscsunb.osc.edu> Distribution: na Organization: The Think_Tank BBS & Public Access Unix Lines: 21 In article <1007@oscsunb.osc.edu> raghu@osc.edu (Raghu Machiraju) writes: >I have a Sun-3/260 running SunOS 4.0.3 and I would like to start >accounting. The /etc/rc file has the lines > if [ -f /var/adm/acct ]; then > accton /var/adm/acct ; echo ( --- etc --- > fi >However I could never get accounting started. Trying to use the >command accton outside /etc/rc did not yield success, since I >got invalid option on accton /var/adm/acct. "/var/adm/acct" It sounds like you probably don't have ACCOUNTING enabled in your kernel. You need to rebuild the kernel, making sure that the ACCOUNTING line is uncommented in the config file. Bill -- home: ...!{uunet,bloom-beacon,esegue}!world!unixland!bill bill%unixland.uucp@world.std.com work: heiser@sud509.ed.ray.com