[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no shell, unable to cd to /home/*



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


Simon Law wrote:

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: