Manipulates connect-time accounting records by writing a utmp record to standard output.
/usr/sbin/acct/acctwtmp "Reason"
The acctwtmp command is called by the runacct command to write a utmp record to standard output. The standard output includes the current date and time, plus a Reason string of 11 characters or less that you must enter.
None.
Item | Description |
---|---|
Reason | String of 11 characters or less. |
Access Control: These commands should grant execute (x) access only to members of the adm group.
Item | Description |
---|---|
/usr/sbin/acct/accwtmp | Contains the acctwtmp command. |
/var/adm/wtmp | Contains records of date changes that include an old date and a new date. |
/usr/include/utmp.h | Contains history records that include a reason, date, and time. |