Disk Druid - Fedora flame #1[Where o' where does a User get their Environment?]
James Mckenzie
jjmckenzie51 at earthlink.net
Thu Jan 20 15:59:56 UTC 2005
-----Original Message-----
From: Chris Adams <cmadams at hiwaay.net>
Sent: Jan 20, 2005 8:41 AM
To: For users of Fedora Core releases <fedora-list at redhat.com>
Subject: Re: Disk Druid - Fedora flame #1[Where o' where does a User get their Environment?]
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.
----James' Humble Apology-----
You are correct as NO shell is started in single-user mode. I reread your original message and I 'stand corrected' in that you were stating that you were running that mode. For those that are wondering, this is entered by init 1. Init 3 starts a text screen mode and that does run a shell after the login: prompt. Init 5 starts an X session with a login screen. Am I correct in what you are doing (starting with init 1?)
James McKenzie
A Proud User of Linux!
More information about the fedora-list
mailing list