[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

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 5L Version 5.2 System Management Guide: Operating System and Devices.

Accounting Commands in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]