You are not logged in.

#1 2013-07-26 08:11:45

slackcub
Member
Registered: 2009-03-14
Posts: 144

[SOLVED] new user password not being accepted

I just installed, and I created my normal non-root user and created a password for it using passwd slackcub.  When I tried to log into it later, I kept getting a message saying login incorrect.  I tried changing the password several time running passwd slackcub, but to no help.  The thing I find most interesting is if I log in as root, run su - slackcub, then passwd, when it prompts me for my current password, it accepts as correct what I had just set it as previously. What could be causing my install to refuse login to a normal user?

David

Last edited by slackcub (2013-07-26 15:36:40)

Offline

#2 2013-07-26 09:08:30

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

Re: [SOLVED] new user password not being accepted

How exactly are you setting that user's shell? Check /etc/shells to see what path to the shell should be:

$ cat /etc/shells
#
# /etc/shells
#

/bin/sh
/bin/bash

# End of file
/usr/bin/zsh

As you can see it's /bin/bash but /usr/bin/zsh.
https://mailman.archlinux.org/pipermail … 33740.html

Offline

#3 2013-07-26 15:36:23

slackcub
Member
Registered: 2009-03-14
Posts: 144

Re: [SOLVED] new user password not being accepted

Well who decided that was a good idea?  I had put /usr/bin/bash as the shell.  It's all good now. Thanks!

David

Offline

Board footer

Powered by FluxBB