Re: Disk Druid - Fedora flame #1[Where o' where does a User get their Environment?]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Chris Adams <cmadams@xxxxxxxxxx>
Sent: Jan 20, 2005 8:41 AM
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Subject: Re: Disk Druid - Fedora flame #1[Where o' where does a User get	their Environment?]

Once upon a time, James Mckenzie <jjmckenzie51@xxxxxxxxxxxxx> 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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux