summaryrefslogtreecommitdiff
path: root/etc/netgroup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/netgroup')
-rw-r--r--etc/netgroup22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/netgroup b/etc/netgroup
new file mode 100644
index 0000000..d2a9aa2
--- /dev/null
+++ b/etc/netgroup
@@ -0,0 +1,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,,)