DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

revnetgroup(NADM)


revnetgroup -- reverse the netgroup file

Syntax

revnetgroup -h

revnetgroup -u

Description

revnetgroup reads /etc/netgroup and produces a list on stdout of key, netgroups pairs. Each line in the output file begins with a key formed by concatenating the host (-h) or user (-u) name with the domain name as found in a triple in /etc/netgroup. The key will be followed by a tab, then the comma-separated, newline-terminated list of groups to which the user or host belongs.

Groups to which everyone belongs (universal groups) will not be included in the list. The universal groups will be listed under the special name ``*''. Thus to find out all the groups that user ``foo'' of domain ``bar'' is in, look up the groups under foo.bar, foo.*, *.bar and *.*.

Files

/etc/netgroup

See also

netgroup(NF)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005