[arch-general] new arch installation: user login not possible on virtual console

Friedrich Strohmaier damokles4-listen at bits-fritz.de
Tue Sep 10 18:33:51 EDT 2013


Hi Rodrigo, *,


Am 10.09.2013 22:39 schrieb Rodrigo Rivas:
> On Tue, Sep 10, 2013 at 1:54 PM, Friedrich Strohmaier <
> damokles4-listen at bits-fritz.de> wrote:

[..]

>> After setting up a new user I cannot login to it's account on the virtual
>> console.

>> I get:

>> Login incorrect

>> No matter whether password is set or not

>> # passwd -S <user>:
>> <user> P ... # password set
>> <user> NP ... # password not set

>> login as root works with and without password set (both times unset by
>> deleting
>> the /etc/shadow passwd entry).

>> this also occured on another box currently installed - latter one a x86_64

>> user was added through

>> # useradd -m -g <group> <user>

>> password was set through

>> # passwd user

>> changing user from root via sudo or su works, as does login via xdm.
>> login via lxdm and gdm doesn't, if that is of any help.

>> If I do the same on my box writing this mail from (x86_64 - all updates
>> included) everything works as expected.

>> Couldn't find anything at the bugtracker.

>> Before digging deeper my question:
>> Any known issues or ideas on that?


> This looks to me like a problem with PAM.

happily this wasn't the reason :o)).

> It is difficult to guess more without more information. You can try:
> "journalctl -b | grep pam" and post the output.

There were some:
login[346]: FAILED LOGIN 1 FROM tty1 FOR <user>, Authentication failure

entries which don't enlighten too much.


> Other than that, you can try reinstalling all the PAM related packages,
> just in case there is some file missing. From my machine:

> $ pacman -Qoq /etc/security /etc/pam.d | sort
> cronie
> cups
> gcr
> gdm
> gnome-screensaver
> jack
> libpwquality
> openssh
> pam
> pambase
> polkit
> postgresql
> screen
> shadow
> sudo
> util-linux

thanks for this hint. Tagged this mail as "tip" :o))

Friedrich


More information about the arch-general mailing list