LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-21-2004, 05:03 PM   #1
stefarg
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
Adding to Path for root in Suse


How do I add paths to the PATH for the root user. I would like the path to be permanent so I don't want to just use the shell and type PATH=$PATH;/directory/ etc.
I used to use Redhat and I could just alter the .bash_profile file in /root but there is none in SuSe.
Thanks,
Stef
 
Old 04-21-2004, 05:58 PM   #2
mandeltuete
Member
 
Registered: Mar 2003
Location: Switzerland
Distribution: Fedora 3
Posts: 75

Rep: Reputation: 15
You should be able to use a bash_profile with root even if there isn't an existing one, just create it. You could change /etc/profile, but that changes all of your users settings.

HTH
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 12:02 AM
Adding Java to root users PATH? infornography Linux - Newbie 5 05-26-2005 07:49 AM
Adding a PATH in SuSE 8.2 Nokia Linux - Software 1 08-25-2004 03:54 PM
adding a dir to PATH for root Villain Linux - Newbie 3 06-20-2004 03:49 PM
suse 9.0 java path for root randomx Linux - Software 2 05-08-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:42 PM.

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