vserver services access-check authentication show-unix-ext-creds
Contributors
Suggest changes
Display a user's UNIX extended credentials based on a UNIX UID
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The vserver services access-check authentication show-unix-ext-creds
command returns the credentials for a UNIX user using UID. This command is useful for retrieving information such as UIDs and GIDs.
Parameters
[-node {<nodename>|local}]
- Node (privilege: advanced)-
The name of the node on which the command is executed.
-vserver <vserver>
- Vserver (privilege: advanced)-
The command displays information for the specified Vserver.
-uid <integer>
- UID (privilege: advanced)-
The UNIX user's UID.
[-ext-groups-limit <integer>]
- Extended Groups Limit (privilege: advanced)-
The maximum number of GIDs to be fetched. The range is 32 to 1024. The default value is 32.
[-clientIp <IP Address>]
- Client IP Address (privilege: advanced)-
The IP address of the client as specified by the user
Examples
This example returns credential information for UNIX user with UID "100" on node "node1" for Vserver "vs1."
cluster1::*> vserver services access-check authentication show-unix-ext-creds -node node1 -vserver vs1 -uid 100 (vserver services access-check authentication show-unix-ext-creds) UNIX UID: 100 (user1) UNIX GID: 200 (group1) Additional GIDs (Count: 2): 200 201