Hello,
I got the same error and I corrected it by changing the shell in /etc/
passwd.
changed from /usr/bin/bash/ to /bin/sh ...
sum
--------
LynnOS wrote:
> root@Avct Linux-vserver:~# pwd
> /root
> root@Avct Linux-vserver:~# ls -ld /root
> drwx------ 3 root root 4096 Jul 3 14:52 /root
> root@Avct Linux-vserver:~# su lynn
> *shell-init: error retrieving current directory: getcwd: cannot access
> parent directories: Permission denied*
> lynn@Avct Linux-vserver:/root$
>
> lynn@Avct Linux-vserver:/root$ bash --version
> GNU bash, version 3.2.39(1)-release (i686-pc-linux-gnu)
> Copyright (C) 2007 Free Software Foundation, Inc.
>
> ===============================================================================
>
> I appay 39 patches from http://ftp.gnu.org/gnu/bash/bash-3.2-patches
> but the error message doesn't go
> in many popular linux distributions,the problem disappear
>
> thanks
>
> --
> OpenEmbedded,Linux vserver,Python