RE: [SLE] profile.local for a user?
![](https://seccdn.libravatar.org/avatar/4ebf1b0be3ade9e443ca13b5be2413e3.jpg?s=120&d=mm&r=g)
-----Original Message----- From: Tryggve Johannesson [mailto:tjo@telia.com] Sent: Friday, February 18, 2000 3:41 PM
On 18 Feb, Jerry L Kreps wrote:
Thanks everyone,
Here's was what was confusing me... In RH ~/.profile existed, but I've never seen one in any of my SuSE installs (since 5.3) and didn't know if, when a user logs in, ~/.profile would be read. Apparently it does. (Belive it or not, since I only ran as a user I always put stuff in boot.local, because it worked. Bad habit... but easily broken when the right way is revealed...)
So, you are saying that on loging in... a) /etc/profile is read (where SuSE puts it's commands for all users...then b) /etc/profile.local is read, where users put their commands for all users... then c) ~/.profile and ~/.bashrc is read (we're still at login) where commands are put for specific users...
and then, d) when running KDE, for example, and you open a term, ~/.bashrc is read but ~/.profile is not.
Do I have things sorted out correctly? JLK
Nicely sorted they are.
Ok, now a question. At home when I open an eterm in Wmaker, I get the prompt from my .bashrc. But when I open an xterm I get a different prompt that I think is from /etc/profile. Do different terms source different config files??? Greg Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
![](https://seccdn.libravatar.org/avatar/b72418bac675a1b6b9db02414c918473.jpg?s=120&d=mm&r=g)
Hi, On Fri, 18 Feb 2000, Thomas, Gregory (NBC, KNBC) wrote:
Ok, now a question. At home when I open an eterm in Wmaker, I get the prompt from my .bashrc. But when I open an xterm I get a different prompt that I think is from /etc/profile. Do different terms source different config files???
It depends, how the terminal has been started. There is a parameter that forces a "login" mode.
From "man xterm":
+ls This option indicates that the shell that is started should not be a login shell (i.e. it will be a normal ``subshell''). Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
gregory.thomas@nbc.com
-
grimmer@suse.de