* debian/login.pam: pam_securetty included as a required module instead of

requisite to avoid leak of user name information. Closes: #531341
This commit is contained in:
nekral-guest
2009-07-23 20:56:32 +00:00
parent 01b11c5f84
commit 1a58cb2346
2 changed files with 8 additions and 8 deletions
+3 -1
View File
@@ -15,8 +15,10 @@ shadow (1:4.1.4.2-1) unstable; urgency=low
for regular expressions. Closes: #534244
* debian/patches/506_relaxed_usernames: Fixed typo. groupadd(8) should
document the restriction on groupnames, not usernames.
* debian/login.pam: pam_securetty included as a required module instead of
requisite to avoid leak of user name information. Closes: #531341
-- Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net> Sat, 18 Jul 2009 19:20:30 +0200
-- Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net> Thu, 23 Jul 2009 22:55:12 +0200
shadow (1:4.1.4.1-1) unstable; urgency=low
+5 -7
View File
@@ -14,13 +14,11 @@ 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 "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
# 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
# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)