17 Sep
2004
17 Sep
'04
11:07
On Fri, 2004-09-17 at 02:58, John Andersen wrote:
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.
Actually root's dir and files should match what /etc/passwd shows which should be 0:0. If you change it to something different you will have problems with root's ability to function. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2) * PLEASE only reply to the list *