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)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003