[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 1

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

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

/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.

Related Information

The acctcon1 or acctcon2 command, acctmerg command, fwtmp command, runacct command, wtmpfix command.

Setting Up an Accounting System in AIX Version 4.3 System Management Guide: Operating System and Devices describes the steps you must take to establish an accounting system.

See the Accounting Overview in AIX Version 4.3 System Management Guide: Operating System and Devices for a list of accounting commands that can be run automatically or entered from the keyboard and about the preparation of daily and monthly reports, and the accounting files.


[ Previous | Next | Contents | Glossary | Home | Search ]