Disk Druid - Fedora flame #1[Where o' where does a User get their Environment?]
Chris Adams
cmadams at hiwaay.net
Thu Jan 20 15:41:54 UTC 2005
Once upon a time, James Mckenzie <jjmckenzie51 at earthlink.net> said:
> In single-user mode, what does that matter?
>
> As I said, $HOME is not set before starting the shell, so the shell
> files (.bash_profile, .bashrc) are not read. You really shouldn't have
> anything significant under root's home anyway.
>
> -----James' reply-----
>
> Actually, yes the $HOME variable is set when a shell is started.
Read what I said: "single-user mode". I was not talking about doing an
"su" or "su -" or logging in directly as root.
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the users
mailing list