disableuser(8)

NAME

 

disableuser - disable an XSCF user account

 

SYNOPSIS

 

disableuser

user

 

 

disableuser -h

DESCRIPTION

 

disableuser(8) disables a local XSCF user account for subsequent logins. Current

 

 

sessions are not affected.

 

 

When an account is disabled, it cannot be used for login. This applies to console

 

 

(serial) and telnet connections, as well as the Secure Shell (SSH). XSCF Web login is

 

 

also disabled. All local XSCF account data associated with the user remains on the

 

 

system. This includes password and SSH keys. You can reenable a disabled account

 

 

using enableuser(8).

Privileges

 

You must have useradm privileges to run this command.

 

 

Refer to setprivileges(8) for more information.

OPTIONS

 

The following option is supported:

 

 

-h

Displays usage statement.

 

 

 

When used with other options or operands, an error occurs.

OPERANDS

 

The following operand is supported:

 

 

user

Specifies a valid user name of the user account to be disabled.

EXAMPLES

 

EXAMPLE 1 Disabling a User Account

 

 

XSCF> disableuser jsmith

EXIT STATUS

 

The following exit values are returned:

 

 

0

Successful completion.

 

 

>0

An error occurred.

SEE ALSO

 

adduser(8), deleteuser(8), enableuser(8), showuser(8)

 

 

 

 

System Administration

41