ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service unix-user file show

    Display local UNIX users file

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

    Description

    The vserver services name-service unix-user file show command displays information about local UNIX users. It displays the content as it is from the actual UNIX user file which resides in the mroot volume.

    Parameters

    -vserver <vserver> - Vserver

    If you specify this parameter, the command displays information about the local UNIX user or users that are located on the specified Vserver.

    [-search-string <text>] - Pattern to be searched

    If you specify this parameter and the -vserver parameter, the command only displays information from the UNIX user file which matches the specified parameter.

    Examples

    The following example displays information about all local UNIX users belonging to a specific Vserver:

    cluster1::> vserver services name-service unix-user file show -vserver vs0
       Line No  File content
    ----------  ----------------
             1  nobody:*:65535:65535::::::
             2  pcuser:*:65534:65534::::::
             3  root:*:0:1::::::
    Top of Page