Unable to cd to "/home/user"
roalter at informatik.tu-muenchen.de
Fri Jul 13 04:28:03 PDT 2001
pacholleck at nexgo.de wrote:
> I am really clueless on this one. Archives did not help,
> neither google results.
> version: glibc-2.2.1/gcc-2.95.1 combi, so quite normal
> working: root login and anything else he does
> problem: all users cannot login, cd to their home dir fails
> 1. created testuser called albert
> useradd -u 502 -g 500 -d /home/albert -s /bin/bash -m albert
> 1. copied + chown .bash_profile to his home and passwd albert
> 2. logfile entries:
> useradd: new user: name=albert, uid=502, gid=500, \n ;)
> home=/home/albert, shell=/bin/bash
> passwd: password for `albert' changed by `root'
> 3. login works, albert is recognized, but then
> 4. error message: Unable to cd to "/home/albert"
> 5. checked permissions and data:
> /home 755 root.root
> /albert 755 albert.users (later 700)
Are you sure you created the albert directory as a subdir in /home?
> 6. devices like this
> console c 5,1 622 root.root
> tty c 5,0 666 root.root
> tty1 c 4,1 600 root.tty
> ttyX c 4,X 622 root.root
> 7. inittab line(s accordingly)
> 1:2345:respawn:/sbin/agetty tty1 9600
> 8. executable in all (s)bin dirs 755 root.root
> 9. root tried this: su albert
> 10 results in error: cannot execute /bin/bash: permission denied
> 11 /bin/bash is 755 root.root (see 8.)
> 12 I never touched /etc/login.defs
> 13 all on one partition mounted with option defaults
> So, everthing seems ok, as far as I can see.
> Any ideas what else might be causing this?
> Thanks, Erika
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev