From: | Tanstaafl <tanstaafl@×××××××××××.org> |
---|---|
To: | gentoo-user@l.g.o |
Subject: | [gentoo-user] Updating $PATH variable permanently for root not working |
Date: | Sun, 05 Jan 2014 15:29:00 |
Message-Id: | 52C97A0E.4000702@libertytrek.org |
1 | Not sure what I'm missing... |
2 | |
3 | I login as normal user, then su - to root... |
4 | |
5 | I've created /root/.bashrc, and added the following: |
6 | |
7 | export PATH="${PATH}:/path/I/want/to/add" |
8 | |
9 | If I logout, then su - back into root, shouldn't I see the new path? |
10 | |
11 | Manually exporting it during the session works, so obviously I'm missing |
12 | something... |
Subject | Author |
---|---|
Re: [gentoo-user] Updating $PATH variable permanently for root not working | Alecks Gates <alecks.g@×××××.com> |
Re: [gentoo-user] Updating $PATH variable permanently for root not working | Alan McKinnon <alan.mckinnon@×××××.com> |