summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1994-10-18 21:26:48 +0000
committerguido <guido@FreeBSD.org>1994-10-18 21:26:48 +0000
commite47a4d7333c18323a2093e7826a94846d0012d0e (patch)
treed9363fbc6a215e1cd80493abbd48878c38a3421b /share/examples
parent2802184c31756d7365c478bace1025f41881fa17 (diff)
downloadFreeBSD-src-e47a4d7333c18323a2093e7826a94846d0012d0e.zip
FreeBSD-src-e47a4d7333c18323a2093e7826a94846d0012d0e.tar.gz
Put skey.acccess in usr/share/examples/etc
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/etc/skey.access38
1 files changed, 30 insertions, 8 deletions
diff --git a/share/examples/etc/skey.access b/share/examples/etc/skey.access
index 22cdb69..ad0245f 100644
--- a/share/examples/etc/skey.access
+++ b/share/examples/etc/skey.access
@@ -1,8 +1,30 @@
-# First word says if UNIX passwords are to be permitted or denied.
-# remainder of the rule is a networknumber and mask. A rule matches a
-# host if any of its addresses satisfies:
-#
-# network = (address & mask)
-#
-#what network mask
-permit 0.0.0.0 0.0.0.0
+# This file controls whether UNIX passwords are to be permitted. Rules
+# are matched in order, and the search terminates when the first matching
+# rule has been found.
+#
+# Each rule has the form:
+#
+# permit condition condition...
+# deny condition condition...
+#
+# Where "permit" or "deny" may be followed by zero or more conditions.
+#
+# A rule is matched when all conditions are satisfied. A rule without
+# conditions is always satisfied.
+#
+# Examples of conditions are:
+#
+# hostname wzv.win.tue.nl
+# internet 131.155.210.0 255.255.255.0
+# port ttya
+# user root
+# group wheel
+#
+# The old S/Key form (permit/deny netnumber netmask) is still supported.
+#
+#permit user uugiga # uucp login via modem or internet
+#permit port ttyb # local
+#permit port console # local
+#deny # anything else
+
+permit # permit plaintext passwords all the time
OpenPOWER on IntegriCloud