Re: Export

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

 



But by commenting out the uid check, you're adding /sbin, /usr/sbin, and
/usr/local/sbin, to the environment of all users on the system. My
understanding is that this is a no-no when it comes to securing the
system.

Adam Kosmin



Alexandre Strube (surak@xxxxxxxxxxxx) wrote:
" Em Seg, 2004-01-12 ?s 16:37, J.L. Coenders escreveu:
" > Probably a stupid question, but to let my Java Runtime work, I have to 
" > export PATH=/usr/java/j2re1.4.1_04/bin:$PATH
" > Linux work remember this and the next time I open a terminal window, I have to 
" > type it again.
" > Who can help me to let Linux remember this?
" 
" /etc/profile - take a look at line 16 - my one is like this:
" # Path manipulation
" #if [ `id -u` = 0 ]; then
"         pathmunge /sbin
"         pathmunge /usr/sbin
"         pathmunge /usr/local/sbin
"         pathmunge /usr/java/j2eesdk1.4_beta2/jdk/bin
"         pathmunge /usr/java/j2eesdk1.4_beta2/bin
"         pathmunge /usr/java/j2eesdk1.4_beta2/share/bin
"         pathmunge /usr/local/ActiveTcl/bin
" #fi
" (note that I've commented out the if and fi - its preety annoying having
" to write the full path just because i'm not root to make a ifconfig, for
" instance).
" 
" -- 
" []s
" 
" Alexandre Ganso 
" 500 FOUR vermelha - Diretor Steel Goose Moto Group
" 
" 
" -- 
" fedora-list mailing list
" fedora-list@xxxxxxxxxx
" To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
" 

-- 

"Yes, Your Honor. Now, where we are so far, in at least my
line of reasoning, is I want to walk the Court through enough of our
complaint to help the Court understand that IBM clearly did contribute a
lot of the Unix-related information into Linux. We just don't know what
it is." 

-- Kevin McBride SCO vs. IBM 12/05/03




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

  Powered by Linux