vserver services name-service cache unix-user user-by-name show
Display password struct
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
Description
The vserver services name-service cache unix-user user-by-name show command displays the user information cached by the user name.
Parameters
- { 
[-fields <fieldname>,…] - 
If you specify the
-fields <fieldname>, …parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - | 
[-instance ]} - 
Use this parameter to display detailed information about the user entries cached by the user name.
 [-vserver <vserver name>]- Vserver (privilege: advanced)- 
Use this parameter to specify the Vserver for which the user entries that are cached by the user name need to be displayed.
 [-pw-name <text>]- pw_name field (privilege: advanced)- 
Use this parameter to display information only about the cached user entries that have the specified user name.
 [-pw-uid <integer>]- pw_uid field (privilege: advanced)- 
Use this parameter to display information only about the cached user entries that have the specified user identifier or UID.
 [-pw-gid <integer>]- pw_gid field (privilege: advanced)- 
Use this parameter to display information only about the cached user entries that have the specified group identifier or GID.
 [-create-time <MM/DD/YYYY HH:MM:SS>]- Create Time (privilege: advanced)- 
Use this parameter to display information only about the user entries that were cached at the specified time.
 [-source {none|files|dns|nis|ldap|netgrp_byname|dc}]- Source of the Entry (privilege: advanced)- 
Use this parameter to display information only about the user entries cached by user name that have the specified look-up source.
 
Examples
The following example displays all the users which are cached by user name:
cluster1::> vserver services name-service cache unix-user user-by-name show
The following example displays all the users entries cached by user name for Vserver vs0:
cluster1::> vserver services name-service cache unix-user user-by-name show -vserver vs0