Disk Druid - Fedora flame #1[Where o' where does a User get their Environment?]
Jeff Vian
jvian10 at charter.net
Thu Jan 20 22:26:18 UTC 2005
On Thu, 2005-01-20 at 08:59 -0700, James Mckenzie wrote:
> -----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?)
>
>
Errrr. I think the shell is started, but it is a single users shell and
does not get any customization from a users profile.
More information about the fedora-list
mailing list