Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with new /etc/profile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jaloha
n00b
n00b


Joined: 07 Apr 2003
Posts: 35
Location: Honolulu, Hawai'i

PostPosted: Wed May 07, 2003 12:36 am    Post subject: Problem with new /etc/profile Reply with quote

Does anyone else's /etc/profile have the following line:

Code:
if [ "$LOGNAME" = 'root' ]


Because it breaks my su bash prompts and konsole root's (sbin stuff is not in the path). I changed it back to:

Code:
if [ `/usr/bin/whoami` = 'root' ]


and everything works again.

If this is the new standard, could this problem be taken into consideration?

Thanks.
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Wed May 07, 2003 10:48 am    Post subject: Reply with quote

I had same thing , this was working.
trought I changed it ,regarding info on how to setup $PS1 in another thread.
I putted my bashrc into :)
_________________
every step aim at glory.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum