Re: no shell, unable to cd to /home/*
On Wed, 10 Oct 2001, pirmin2 wrote:
> it should but I'm afraid it doesn't...
> A.
>
> chsh avh
> Changing the login shell for avh
> Enter the new value, or press return for the default
> Login Shell [/bin/bash]: <return>
>
> su avh
> No shell
>
> su - avh
> Unable to cd to "/home/avh"
>
> chsh avh
> Changing the login shell for avh
> Enter the new value, or press return for the default
> Login Shell []: /bin/bash
> su - avh
> Unable to cd to "/home/avh"
>
> su avh
> No shell
>
> ls -al /bin/bash
> -rwxr-xr-x 1 root root 407356 Sep 23 01:22 /bin/bash
Check your /etc/passwd and make sure avh is configured right.
If you have shadow passwords enabled, check /etc/shadow too.
Simon
Reply to: