You are not logged in.
Hi,
After merging a couple of changes from /etc/passwd /etc/shadow and /etc/gshadow I cannot log in to my regular user account.
I tried adding another user and was able to log in, so I could migrate all my date to a new account, but I would like to try and diagnose the problem. Luckily I can log into my root account.
I've tried (as root) modifying my user password:
passwd ablack
I got the message, password updated successfully, but I still cannot log in. I can't log in via a tty or slim. I just get the message Login incorrect.
I can log in from the root account using:
su -l ablack
What is going on?
Offline
Log in as root and try to log in as your user with 'su <your old username>'. Maybe the shell you're using is not present in /etc/shells.
Offline
yes, as I mentioned I can log in using su <user> from my root account
Offline
ok, you were right. I think at some stage I accidentally removed and reinstall zsh in which case I had /usr/bin/zsh in /etc/shells, but in my /etc/passwd my login was set to /bin/zsh
Changing the login to /usr/bin/zsh fixed this for me.
Thanks for your help!
Last edited by mrpringle (2013-06-09 11:09:01)
Offline
This may have not been your fault: https://bugs.archlinux.org/task/35724
Offline