*** This bug is a duplicate of bug 393854 ***
    https://bugs.launchpad.net/bugs/393854

As you half-guessed, most of what you report here is intentional. Namely:
1) we don't want people to log in as root using GDM - logging through the 
console could make sense, but never using a GUI, where many issues arise. You 
should never need do to so, anyway, PolicyKit and sudo/gksu are here for you.
2) we don't want user accounts to stay without password because that can lead 
to security issues, even if you may argue that a home computer does not suffer 
from many threats.

Now, there are also bugs that bring you into that situation. First, 2)
is not absolutely intended, since we could at least allow people to log
in without password locally. That's bug 104957, which you can circumvent
at your own risk by replacing 'nullok_secure' in /etc/pam.d/* with
'nullok', meaning empty password will be accepted for all ttys 'not SSH
hopefully).

But IMO the best solution would be to allow password-less logins as described 
at bug 393854, and there's already a graphical way of enabling that in 
users-admin - the problem is, it's disabled because it lacks support in GDM. If 
you prefer that way, you can simply adapt /etc/pam.d/gdm as does the patch by 
adding:
auth    sufficient      pam_succeed_if.so user ingroup nopasswdlogin
and create group 'nopasswdlogin' so that users-admin works with that feature. 
Anyway, good luck!

** This bug has been marked a duplicate of bug 393854
   Update PAM policy to allow password-less logins set up via users-admin

-- 
Unable to authenticate as user 'root' (I have added a password) OR as current 
user (account has no password due to end user preference)
https://bugs.launchpad.net/bugs/454256
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to