You are not logged in.

#1 2013-07-23 13:53:16

Xenonn
Member
Registered: 2010-12-13
Posts: 4

[SOLVED]Cant login to newly created user

Ive run into a strange issue.. I just re installed my system (Keeping the /home partition) .

I created a user with "useradd -m -g users -s /bin/zsh xenonn"
Then i set the password with "passwd xenonn"

Trying to login to the user account xenonn with the password set give me a "login incorrect" error.

What i tried:

I used "su xenonn" from a root terminal to gain access to the account and then i ran passwd again. passwd then asks for the current password and using the one i set earlier i can indeed change the password, but the user xenonn still cant login from a tty or using GDM.

what am i missing here?

Last edited by Xenonn (2013-07-23 14:02:58)

Offline

#2 2013-07-23 13:58:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Cant login to newly created user

Strangely, the path in /etc/shells for zsh is /usr/bin/zsh.  The other shells (except fish) all use /bin.

Offline

#3 2013-07-23 14:02:44

Xenonn
Member
Registered: 2010-12-13
Posts: 4

Re: [SOLVED]Cant login to newly created user

Yes, that worked smile Thank you so much!

Strange indeed. There is also a zsh file in /bin that you can run to start zsh. But obviously there is something wrong doing it that way.

Offline

#4 2013-07-23 14:37:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Cant login to newly created user

/bin is symlinked to /usr/bin but you have to specify the shell in useradd the way it's set in /etc/shells.
You're not the first one to bump into this, and not the last one, unless this gets fixed ...

https://mailman.archlinux.org/pipermail … 33740.html

Offline

Board footer

Powered by FluxBB