On 7/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Wouldn't it be much more logical "if" if it deals with 'root' to place
> these files in /root ?

oh, but they are in /root

# sudo ls -il /.profile /root/.profile
125 -rw-r--r--  2 root  wheel  283 Mar 19 23:44 /.profile
125 -rw-r--r--  2 root  wheel  283 Mar 19 23:44 /root/.profile

> But it would be great if somebody (who knows the exact reason) would
> tellme what these files are for.

single user mode.

init invokes sh, right? sh tries to read $HOME/.profile, but since you
didn't log in, you don't have $HOME, so sh really reads /.profile.
same thing was true when root's shell was csh.

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?

Reply via email to