On Thursday 16 September 2004 10:47 pm, steve-ss wrote:
On Friday 17 September 2004 08:29, John Andersen wrote:
On Thursday 16 September 2004 10:41 am, steve-ss wrote:
Hi. After a YOU upgrade and reboot I get:
No directory /root! logging in with home="/" -bash: /root/.bash-profile:Permission denied
I can ssh into the box with no problem and perform on the remote machine as if I were in total root control.
There is no file .bash_profile under /root
can anyone help?
thanks, Steve.
So ssh in, create /root, built or copy a .bash-profile therein and bob's you uncle.
Sorry but being really thick. /root already exists. There is no .bash_profile to be copied. How would I create it?
thanks, Steve.
But is /root owned by root? Do this: (list dirs by showing numeric uid/gid ls -ln / Then cat /etc/passwd and see if root says something like root:x:0:0:root:/root:/bin/bash The 0:0 bit is the uid/gid, it must match the uid/gid that the ls command gives. -- _____________________________________ John Andersen