LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Adding to Path for root in Suse (https://www.linuxquestions.org/questions/linux-general-1/adding-to-path-for-root-in-suse-173019/)

stefarg 04-21-2004 05:03 PM

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

mandeltuete 04-21-2004 05:58 PM

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


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