remove Command
Purpose
Deletes files from var/adm/acct/sum and var/adm/acct/nite subdirectories.
Syntax
/usr/sbin/acct/remove
Description
The remove command deletes all /var/adm/acct/sum(x)/wtmp*, /var/adm/acct/sum(x)/pacct*, and /var/adm/acct/nite(x)/lock* files. The remove command must be scheduled with the cron daemon. Also, the remove command should be run at the end of every accounting period, rather than every night.
Security
Access Control: This command should grant execute (x) access only to members of the adm group.
Files
Item | Description |
---|---|
/usr/sbin/acct | The path to the accounting commands. |
/var/adm/acct/nite | Contains accounting data files. |
/var/adm/acct/nitex | Contains accounting data files when user names greater than 8 characters are used. |
/var/adm/acct/sum | Cumulative directory for daily accounting records. |
/var/adm/acct/sumx | Cumulative directory for daily accounting records when user names greater than 8 character are used. |