Skip to main content

vserver services name-service unix-group file show

Contributors
Suggest changes

Display local UNIX groups file

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

Description

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

Parameters

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

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

[-search-string <text>] - Pattern to be searched (privilege: advanced)

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

Examples

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

cluster1::> vserver services name-service unix-group file show -vserver vs0
   Line No  File content
----------  ----------------
         1  daemon:*:1:
         2  nobody:*:65535:
         3  pcuser:*:65534:
         4  root:*:0: