startup Command

Purpose

Turns on accounting functions at system startup.

Syntax

/usr/sbin/acct/startup

Description

The startup command turns on the accounting functions when the system is started, if called by the /etc/rc command file. See the startup example for the command to add to the /etc/rc file.

Security

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

Examples

To turn on the accounting functions when the system is started, add the following to the /etc/rc file:

/usr/bin/su - adm -c /usr/sbin/acct/startup

The startup shell procedure will then record the time and clean up the previous day's records.

Files

Item Description
/usr/sbin/acct The path to the accounting commands.