View previous topic :: View next topic |
Author |
Message |
urfage n00b
Joined: 05 Sep 2004 Posts: 49
|
Posted: Sun May 08, 2005 1:13 am Post subject: Modify $PATH for a specific user |
|
|
How can I change the $PATH variable for a specific user. I want a users's path to include ~/bin .
Thanks in advance,
Bryce |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sun May 08, 2005 2:07 am Post subject: |
|
|
edit .bashrc if you use bash and add the path there _________________ linux: #232767 |
|
Back to top |
|
|
30726 Veteran
Joined: 24 Sep 2003 Posts: 1501
|
Posted: Sun May 08, 2005 10:33 am Post subject: |
|
|
Put this in your ~/.bashrc, put make sure it's after any line that sources /etc/profile.
Code: | export PATH="${PATH}:${HOME}/bin" |
|
|
Back to top |
|
|
|