/etc/netgroup is in nis 3.17-32ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #
# netgroup The netgroup file. Entries look like this:
#
# netgroup (host,user,domain) (host,user,domain) ..
#
# So for example a netgroup for powerusers could be:
#
# powerusers (,miquels,) (,torvalds,) (,fubar,)
#
# And an entry in the password file like
#
# +@powerusers::::::
# +:*:::::/etc/NoShell
#
# would give access only to the users in "powerusers", while the
# other users would be known to the system but have an invalid
# shell AND an invalid password (with Linux, you can also
# override the password field).
#
# powerusers (,miquels,) (,torvalds,) (,fubar,)
# ourhosts (picard,,) (enterprise,,) (laforge,,) (Q,,)
|