acctwtmp Command
Purpose
Manipulates
connect-time accounting records by writing a utmp record to
standard output.
Syntax
acctwtmp "Reason"Description
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.
Flags
None.
Parameters
| Item | Description |
|---|---|
| Reason | String of 11 characters or less. |
Security
Access Control: These commands grant execute (x) access only to members of the adm group.
Files
| Item | Description |
|---|---|
| /usr/sbin/acct/acctwtmp | Contains the acctwtmp command. |
| /var/adm/wtmp | This directory 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. |