Skip to main content
A newer release of this product is available.

vserver services name-service cache unix-user user-by-id show

Contributors
Suggest changes

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-id show command displays the user information cached by the user identifier or UID.

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 identifier or UID.

[-vserver <vserver name>] - Vserver (privilege: advanced)

Use this parameter to specify the Vserver for which the user entries that are cached by the user identifier or UID need to be displayed.

[-pw-uid <integer>] - pw_uid field (privilege: advanced)

Use this parameter to specify the user identifier or UID for which the cached entries 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 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 the user identifier or UID that have the specified lookup source.

Examples

The following example displays all the users which are cached by the user identifier or UID:

cluster1::> vserver services name-service cache unix-user user-by-id show

The following example displays all the users entries cached by the user identifier or UID for Vserver vs0:

cluster1::> vserver services name-service cache unix-user user-by-id show -vserver vs0