PURGEACCT

The PURGEACCT command removes an entire account and its groups and users from the system directory . The command remo ves every user not curren tly logged on and every group or ￿le or both not in use. If a group is in use, the account cannot be purged.

Syntax

PURGEACCT acctname

Parameters

 

acctname

Speci￿es the name of the accoun t to be deleted. This name

 

must contain from one to eigh t alphanumeric characters,

 

beginning with an alphabetic c haracter.

Operation Notes

Usage

You can enter this command from a session, a job, a program, or in break mode. Pressing 4Break5 does not a￿ect this command.

You must have system manager (SM) capability to en ter this command.

When to purge an accoun t

To completely purge an accoun t, you must enter PURGEACCT when the account is inactive. If y ou enter the command while the accoun t is in use, the account remains on the system and active users, groups, and ￿les are not purged from the accoun t.

Purge veri￿cation

When you enter PURGEACCT during a session, the system displa ys the following veri￿cation prompt to ensure that y ou do not accidentally purge the wrong account:

ACCT acctname TO BE PURGED?

2-184 MPE/iX Commands