Isn't this a PAM bug?

I get the same result as Kristian Erik Hermansen above, namely that
login is rejected by pam_securetty. However, I do not quite see why
pam_securetty should be run.

> grep -r pam_securetty /etc/pam.d
/etc/pam.d/login:auth       requisite  pam_securetty.so

So, if I am not mistaken, pam_securetty should only be run for the "login" 
service, not for gdm.
Also, /usr/share/doc/libpam-doc/html/pam-6.html#ss6.23 states for the 
pam_securetty module: "Provides standard Unix securetty checking, which causes 
authentication for root to fail unless PAM_TTY is set to a string listed in the 
/etc/securetty file. For all other users, it succeeds."

So pam_securetty should not be run at all, and it should certainly not
fail.

** Also affects: pam (Ubuntu)
   Importance: Undecided
       Status: New

-- 
users with no password can't log in with gdm
https://bugs.launchpad.net/bugs/104957
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to