vserver services name-service netgroup file show
Display a local netgroup file
Description
The vserver services netgroup file show command displays the contents of the local netgroup file for the specified Vservers. All the entries under a given netgroup, specified in the Netgroup column of the command output, list the members of that netgroup. Each netgroup file specifies netgroups, which are sets of tuples. Each member of a netgroup is either the name of another netgroup, specified in the Member Netgroup column, or a specification of a tuple as follows: (Host, User, Domain) where Host, User, and Domain are character string names for the corresponding component. Any of the components of a tuple can either be empty to specify a wildcard value or a dash (-) to specify no valid value.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields fieldname, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-vserver <vserver name>] - Vserver
- Use this parameter to display the local netgroup file contents for the Vservers you specify.
- [-netgroup <text>] - Netgroup Name
- If you specify this parameter, the command displays information about the netgroup you specify.
- [-netgrpmemb <text>] - Member Netgroup
- If you specify this parameter, the command displays information about the member netgroup you specify.
- [-host <text>] - Member Host
- If you specify this parameter, the command displays information about the host you specify.
- [-user <text>] - Member User
- If you specify this parameter, the command displays information about the user you specify.
- [-domain <text>] - Member Domain
- If you specify this parameter, the command displays information about the domain you specify.
Examples
The following example displays the netgroup file contents for the Vserver named vs1.
cluster1::> vserver services netgroup file show -vserver vs1
Member
Vserver Netgroup Netgroup Host User Domain
---------- -------- ----------- ------------- ------------ -------------------
vs1
netgrp1
netgrp9 - - -
h1 d1
h22 d22
netgrp11 - - -
netgrp18 - - -
h119 u4343 d34
netgrp8
'-' u88 '-'