acctwtmp Command

Purpose

Manipulates connect-time accounting records by writing a utmp record to standard output.

Syntax

/usr/sbin/acct/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 should grant execute (x) access only to members of the adm group.

Files

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.