Creates active accounting data files.
/usr/sbin/acct/nulladm [ File ... ]
The nulladm command creates the file specified by the File parameter, gives read (r) and write (w) permission to the file owner, and group and read (r) permission to other users, and ensures that the file owner and group are adm. Various accounting shell procedures call the nulladm command. A user with administrative authority can use this command to set up the active data files, such as the /var/adm/wtmp file.
Note: You should not share accounting files among nodes in a distributed environment. Each node should have its own copy of the various accounting files.
Access Control: This command should grant execute (x) access only to members of the adm group.
Item | Description |
---|---|
/usr/sbin/acct | Contains the accounting commands. |
/var/adm/acct/sum | Contains accounting data files. |