lsuser Command

Purpose

Displays user account attributes.

Syntax

lsuser [ ALL | Name[, Name ] ...]

Description

The lsuser command displays the user account attributes. You can use this command to list all attributes of all the system users or all the attributes of specific users. If more than one user is specified, each user must be separated by a comma. If no users are specified the attributes of all users are displayed.

The lsuser command lists each user's attributes on one line. It displays attribute information as Attribute=Value definitions, each separated by a blank space.

Exit Status

See Virtual I/O Server command exit status.

Security

This command can be run by any users. However, user attributes are only displayed for the padmin user.

Examples

  1. To list all users on the system, type:
    lsuser
    The system displays output similar to the following for the padmin user:
    padmin roles=PAdmin account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=0
    sally roles=DEUser account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=330
    henry roles=DEUser account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=330
    admin1 roles=Admin account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=330
    deuser1 roles=DEUser account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=330
    sruser1 roles=SRUser,RunDiagnostics account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=330
    view1 roles=ViewOnly account_locked=false expires=0 histexpire=0 histsize=0 loginretries=0 maxage=0 maxexpired=-1 maxrepeats=8 minlen=0 minother=0 pwdwarntime=330
    The system displays the following information for other users:
    padmin roles=PAdmin 
    sally roles=DEUser 
    henry roles=DEUser 
    admin1 roles=Admin 
    deuser1 roles=DEUser 
    sruser1 roles=SRUser
    view1 roles=ViewOnly 
    
  2. To display the attributes of user delft, type:
    lsuser delft
  3. To display the attributes of user delft and user gouda, type:
    lsuser delft, gouda

Related Information

The chuser command, the mkuser command, the rmuser command, and the passwd command.


Send feedback |  Rate this page