lsuser
Use the lsuser command to display a list of the users that is created on the system.
Syntax
Parameters
- -nohdr
- By default, headings are displayed for each column of data in a
concise style view, and for each item of data in a detailed style view. The
-nohdr parameter suppresses the display of these headings.Note: If no data is displayed, headings are not displayed.
- -delim delimiter
- By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum width of each item of data. In a
detailed view, each item of data has its own row, and if the headers are displayed, the data is
separated from the header by a space. If you enter
-delim :on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. - -filtervalue attribute=value
- Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
- -filtervalue?
- Displays the valid filter attributes for the
-filtervalueattribute=value parameter:
passwordssh_keyremoteusergrp_idusergrp_name
- usergrp_name | usergrp_id
- Specifies the ID or name of the user for which the association is being deleted. If this parameter is specified, the detailed view for the specified user is displayed in the output. If you do not specify an ID or name, the concise view is displayed.
Description
This command displays a list of users that is created on the system.
A concise invocation example
lsuserThe resulting output
id name password ssh_key remote usergrp_id usergrp_name
0 superuser yes no no 0 SecurityAdmin
1 simon no yes no 2 CopyOperator
2 jane yes no no 3 Service
3 kip yes yes yes A detailed invocation example
lsuser 1The resulting output
id 1
name tpc_admin
password yes
ssh_key no
remote no
usergrp_id 0
usergrp_name SecurityAdmin
