ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services access-check authentication show-ontap-admin-unix-creds

    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

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

    -vserver <vserver> - Vserver

    The name of the Vserver.

    { -unix-user-name <text> - Unix User Name

    The UNIX username.

    | -uid <integer> - Unix User ID }

    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
    Top of Page