You are not logged in.
Pages: 1
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
Strangely, the path in /etc/shells for zsh is /usr/bin/zsh. The other shells (except fish) all use /bin.
Offline
Yes, that worked
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
/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 ...
Offline
Pages: 1