Skip to main content

vserver services access-check authentication show-ontap-admin-unix-creds

Contributors
Suggest changes

Display Data ONTAP admin Unix credentials based on username or user ID

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The vserver services access-check authentication show-ontap-admin-unix-creds uses the Vserver's ns-switch configuration to determine and display Data ONTAP administrator's UNIX information.

Parameters

[-node {<nodename>|local}] - Node (privilege: advanced)

The name of the node on which the command is executed.

-vserver <vserver> - Vserver (privilege: advanced)

The name of the Vserver.

{ -unix-user-name <text> - Unix User Name (privilege: advanced)

The UNIX username.

| -uid <integer> - Unix User ID (privilege: advanced) }

The UID of a UNIX user.

Examples

This example shows Data ONTAP administrator's UNIX user's UID, GID, home directory, and login shell for user "root" on Vserver "vs1" for node "node2."

cluster1::vserver services access-check*> authentication show-ontap-admin-unix-creds -vserver vs1 -unix-user-name root -node node2
       User ID: 0
      Group ID: 1
Home Directory: /
   Login Shell: /bin/csh