LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Path (https://www.linuxquestions.org/questions/linux-distributions-5/path-17382/)

Cichlid 03-30-2002 07:12 PM

Path
 
I want to add /usr/sbin to my user PATH. I've tried export PATH=$PATH:/usr/sbin. This will work so long as I don't close the termial window. In /etc/profile I think I could edit the script to include it, but it seems to check what my userID is, and will deside if I have "permission" or not.

I think the answer may lie in /etc/permissions, permissions.easy, etc. Can you shed some light on this please.

Thanks,

Erik

P.S. I'm running SuSE 7.3 Personal

taz.devil 03-30-2002 10:37 PM

You can add that to the /etc/profile file, you just want to become root first so you can make the changes. Just type su and you'll be prompted for root's password, after that you're good to go, just edit and save. Type exit and you'll be you again.

zmedico 03-31-2002 11:39 AM

see my post in a duplicate thread:

http://www.linuxquestions.org/questi...threadid=17368


All times are GMT -5. The time now is 08:56 AM.