Re: no shell, unable to cd to /home/*
On Wed, 10 Oct 2001, pirmin2 wrote:
> Thanks for the advice about the appropriate permissions. I followed it
> and - beginning in pwd /root - now get the following outputs:
>
> ls -ld /home
> drwxr-sr-x 6 root root 4096 Oct 10 19:03 /home
>
> ls -las /home
> total 100
> 4 drwxr-sr-x 6 root root 4096 Oct 10 19:03 .
> 60 drw-rw---- 24 root root 57344 Oct 10 18:46 ..
> 12 drwxr-sr-x 77 avh avh 12288 Oct 7 03:05 avh
> 16 drwxr-sr-x 2 root root 16384 May 4 02:23 lost+found
> 4 drwxr-sr-x 2 mcr mcr 4096 Oct 6 23:52 mcr
> 4 drwxr-sr-x 4 avh users 4096 Sep 2 21:44 pool
>
> su avh
> No shell
>
> su - avh
> Unable to cd to "/home/avh"
>
> Shall I send strace output again?
>
> Andreas
Do a 'chsh avh' and give yourself a shell, such as /bin/bash.
It should work from there on.
Simon
Reply to: