summaryrefslogtreecommitdiff
path: root/recipes/shadow/files/pam.d/login
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/shadow/files/pam.d/login')
-rw-r--r--recipes/shadow/files/pam.d/login2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/shadow/files/pam.d/login b/recipes/shadow/files/pam.d/login
index 2186d3eee9..65992c626c 100644
--- a/recipes/shadow/files/pam.d/login
+++ b/recipes/shadow/files/pam.d/login
@@ -20,7 +20,7 @@ auth optional pam_faildelay.so delay=3000000
# You can change it to a "required" module if you think it permits to
# guess valid user names of your system (invalid user names are considered
# as possibly being root).
-auth requisite pam_securetty.so
+auth [success=ok ignore=ignore user_unknown=ignore default=die] pam_securetty.so
# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)