Index: head/en_US.ISO8859-1/books/handbook/security/chapter.xml =================================================================== --- head/en_US.ISO8859-1/books/handbook/security/chapter.xml +++ head/en_US.ISO8859-1/books/handbook/security/chapter.xml @@ -3567,10 +3567,23 @@ Before using process accounting, it must be enabled using the following commands: - &prompt.root; touch /var/account/acct -&prompt.root; chmod 600 /var/account/acct -&prompt.root; accton /var/account/acct -&prompt.root; sysrc accounting_enable=yes + &prompt.root; sysrc accounting_enable=yes +&prompt.root; service accounting start + + The accounting information is stored in files located in + /var/account, which is automatically created, + if necessary, the first time the accounting service starts. + These files contain sensitive information, including all the + commands issued by all users. Write access to the files is + limited to root, + and read access is limited to root and members of the + wheel group. + To also prevent members of wheel from reading the files, + change the mode of the /var/account + directory to allow access only by root. Once enabled, accounting will begin to track information such as CPU statistics and executed