Revert pam_securetty to "requisite"
This commit is contained in:
Vendored
+4
@@ -17,6 +17,10 @@ shadow (1:4.1.4.3-1) UNRELEASED; urgency=low
|
||||
* debian/login.defs: Improve documentation of USERGROUPS_ENAB.
|
||||
Closes: #572687
|
||||
* debian/rules: Added DEB_AUTO_UPDATE_LIBTOOL = pre. Closes: #560633
|
||||
* debian/login.pam: return back to "requisite" for the pam_securetty
|
||||
PAM module. It's more important to avoid root logins over insecure
|
||||
terminals than having a very hypothetical attack based on sniffing
|
||||
incorrect usernames, followed by a brute force attack.
|
||||
|
||||
-- Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net> Sun, 24 Jan 2010 18:28:33 +0100
|
||||
|
||||
|
||||
Vendored
+7
-5
@@ -14,11 +14,13 @@ auth optional pam_faildelay.so delay=3000000
|
||||
|
||||
# Disallows root logins except on tty's listed in /etc/securetty
|
||||
# (Replaces the `CONSOLE' setting from login.defs)
|
||||
# Note that it is included as a "required" module. root will be
|
||||
# prompted for a password on insecure ttys.
|
||||
# If you change it to a "requisite" module, make sure this does not leak
|
||||
# user name information.
|
||||
auth required pam_securetty.so
|
||||
# Note that it is included as a "requisite" module. No password prompts will
|
||||
# be displayed if this module fails to avoid having the root password
|
||||
# transmitted on unsecure ttys.
|
||||
# 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
|
||||
|
||||
# Disallows other than root logins when /etc/nologin exists
|
||||
# (Replaces the `NOLOGINS_FILE' option from login.defs)
|
||||
|
||||
Reference in New Issue
Block a user