Starting accounting
Bill Heiser
bill at unixland.uucp
Sun Oct 7 12:31:43 AEST 1990
In article <1007 at oscsunb.osc.edu> raghu at 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 at world.std.com
work: heiser at sud509.ed.ray.com
More information about the Comp.unix.admin
mailing list