Useradd

Dan Nicholson dbn.lists at gmail.com
Wed Nov 29 16:17:29 PST 2006


On 11/29/06, Geoffrey Thomas <gmthomas1 at mac.com> wrote:
>
> On Nov 29, 2006, at 3:04 PM, baho-utot wrote:
>
> > Geoffrey Thomas wrote:
> >> After a few keyboard issues, I now have a LFS system that boots
> >> without problems.
> >> I can login as root and cruise through directories and use basic
> >> commands.
> >> When I add a user with useradd, all the info goes into the /etc/
> >> password and /etc/shadow files
> >> When I try to login to the new user, I get the message /bin/bash
> >> Permission denied.
> >> I check /bin/bash permissions.
> >> The file is owned by root (group -root) and the permissions are 755.
> >> Any ideas?
> >> Geoff
> >
> > Did you set the password by using
> > passwd <new user name> ?
>
> Yes, without problem.

Is /bin/bash listed in /etc/shells? Are you using PAM? Is there any
more revealing output in /var/log/auth.log?

--
Dan



More information about the lfs-support mailing list