You are not logged in.

#1 2013-09-17 09:46:30

pyro539
Member
Registered: 2011-08-08
Posts: 18

[SOLVED]Cannot login after update (although login/password is correct)

Hi,

I just did a system update (over 800 MB of updates). Now, I cannot login anymore. slim only beeps when I try to login and on the Virtual Terminal I only get "Login incorrect". No matter if I login with my regular user or with root.

The thing is however: I can still login via SSH using my public key. When logged in, I can switch to the root user either via su (with the correct root password) or with sudo (with the correct password of my user). But I cannot login via SSH with password authentication (it is allowed in sshd_config).

Is it possible, that this has something to do with PAM? According to /etc/pam.d there were changes to the 'login' files. It now contains the following content:

#%PAM-1.0

auth       required     pam_securetty.so
auth       requisite    pam_nologin.so
auth       include      system-local-login
account    include      system-local-login
session    include      system-local-login

Since I don't know anything about PAM, is there anything wrong with this?
I also updated my pacdiff files, but I can't remember correctly which files I changed (I did the update some time ago but I first rebooted today). Is there a way to see which files pacdiff changed?

So, do you have any clues what might be wrong?


Best regards,
pyro

Last edited by pyro539 (2013-09-17 13:24:29)

Offline

#2 2013-09-17 13:24:11

pyro539
Member
Registered: 2011-08-08
Posts: 18

Re: [SOLVED]Cannot login after update (although login/password is correct)

Okay, I just solved the problem. Apparently, pacdiff updated the /etc/shells file (a list of all allowed login shells). Since I use /bin/zsh as input shell I could not login anymore. I have now updated /etc/shells and it works again.

Offline

Board footer

Powered by FluxBB