1
0
I stumbled on a login problem that I'm assuming must be consequence of something getting broken on my ubuntu install. I simply can't get my login password recognized anywhere (and I haven't forgotten it), nor in shell, nor in the gnome welcome screen, nor in the unlock window after the screensaver. Thinking that resetting the password would solve this, I restarted, went into recovery console, opened the root shell, ran 'passwd myuser', entered a new simple password and it seems like a success but if I immediately run 'login myuser' or if I restart and go to the welcome screen, then it says incorrect password again. If I do 'sudo -i -u myuser' on the root shell I can do 'passwd myuser' and then when it asks me my previous password is the only time I've found where my pass gets recognized (I can set a new password then but like before I never get a login to recognize it).
The only way I found to make the machine useful again was starting gnome from the root shell and configuring in users and groups that myuser should not be asked for passwords at start. Still I cannot run anything that requires me to do sudo because I get password incorrect.
What can I do to make authentication work again?
my PAM is most probably changed as it is a tweaked distro that meets the corporate policy. In the auth.log the following error keeps appearing when I try to login:
PAM unable to dlopen(/lib/security/new_authtok_reqd=2): /lib/security/new_authtok_reqd=2: cannot open shared object file: No such file or directory
PAM adding faulty module: /lib/security/new_authtok_reqd=2
PAM unable to dlopen(/lib/security/default=ignore]): /lib/security/default=ignore]: cannot open shared object file: No such file or directory
PAM adding faulty module: /lib/security/default=ignore]
Is it possible that the root account is using a different keyboard layout from the user you are trying to login as? – DaveParillo – 2010-08-12T15:55:38.797
I checked the keyboard layout as my password had special characters, but it wasn't an issue – ilcavero – 2010-08-12T16:01:30.777
Are any other accounts having this problem? Have you tried deleting and recreating the account? – bryan – 2010-08-12T15:48:03.903
I created another account and it suffered the same problems – ilcavero – 2010-08-12T16:00:38.263