summaryrefslogtreecommitdiff
path: root/modules/pam_access/access.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_access/access.conf')
-rw-r--r--modules/pam_access/access.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/pam_access/access.conf b/modules/pam_access/access.conf
index dbaadf67..cec2be0c 100644
--- a/modules/pam_access/access.conf
+++ b/modules/pam_access/access.conf
@@ -40,8 +40,15 @@
# logged-in user. Both the user's primary group is matched, as well as
# groups in which users are explicitly listed.
#
+# TTY NAMES: Must be in the form returned by ttyname(3) less the initial
+# "/dev" (e.g. tty1 or vc/1)
+#
##############################################################################
#
+# Disallow non-root logins on tty1
+#
+#-:ALL EXCEPT root:tty1
+#
# Disallow console logins to all but a few accounts.
#
#-:ALL EXCEPT wheel shutdown sync:LOCAL