shutacct Command

Purpose

Turns off processing accounting.

Syntax

/usr/sbin/acct/shutacct"Reason]

Description

The shutacct command turns off process accounting and calls the acctwtmp command to add a record stating the reason to the /var/adm/wtmp file. The shutacct command is invoked by the shutdown command.

Note: It is necessary to place quotation marks around the Reason value in the /var/adm/wtmp file.

Variables

Item Description
Reason Specifies the reason for accounting system shutdown. This value is optional.

Security

Access Control: This command should grant execute (x) access only to members of the adm group.

Files

Item Description
/usr/sbin/acct The path to the accounting commands.
/var/adm/wtmp The login and logout history file.