LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-24-2006, 08:53 PM   #1
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Rep: Reputation: 15
su and $PATH questions


When you run su and switch to root your $PATH info is never updated...is it possible to do this? I'm not sure where that stuff is added in the startup process...maybe /etc/profile??? When I login as root all my $PATH info is correct. Any pointers would be appreciated.

Thanks!
 
Old 04-24-2006, 09:19 PM   #2
Trip in VA
Member
 
Registered: Dec 2003
Location: Charlotte Co., VA, USA
Distribution: Aptosid
Posts: 34

Rep: Reputation: 15
At the command line, instead of typing "su" you can type "su -" which isn't as easy (and dumps you in /root) but does get the job done.

- Trip
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache path and kde path questions darkraider Debian 1 11-12-2005 05:07 AM
Two questions: $PATH and some apt-get help. Lokathor Debian 7 10-28-2005 12:21 AM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 06:10 PM
path and mysql questions Red Squirrel Linux - Newbie 13 03-07-2004 03:16 PM
Some path questions and installing Pico Mathius Linux - Newbie 1 07-04-2003 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration