You are not logged in.
Hello there,
I'm comfortable with linux, but new with Arch Linux. Recently I completed an installation with success but I ran into a strange authentication error at login.
Before adding a user I verified the path of the bash shell and 'which bash' returned /usr/bin/bash.
So I added a user with shell /usr/bin/bash and the line in /etc/passwd reads similar to:
newuser:x:1000:100:His name:/home/newuser:/usr/bin/bash
With this line I get an authentication error from login
And when I change the shell to /bin/bash, the user is able to login with success.
I have found similar problem reports, but not this solution.
I hope to get some help with understanding this issue, to me it seems wrong to point the shell in /etc/passwd to a symbolic link.
Offline
Offline
Thank you very much, falconindy.
My first reaction is "But what if /usr becomes inaccessible", also /bin/sh is a symlink.
But I guess with rescue options from initramfs or live CD/usb, this is not a big issue anymore.
I have added /usr/bin/bash to /etc/shells.
Last edited by wilbert-vb (2013-05-18 12:55:45)
Offline