Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updating $PATH variable permanently for root not working
Date: Sun, 05 Jan 2014 22:05:22
Message-Id: 52C9D718.5090603@gentoo.org
In Reply to: Re: [gentoo-user] Updating $PATH variable permanently for root not working by Alan McKinnon
1 On 01/05/2014 04:14 PM, Alan McKinnon wrote:
2 >
3 >
4 > This way everything is still unbelievably complex but at least the
5 > visible problems mostly just go away
6 >
7
8 There is an apparently empty directory, /etc/skel, that upon closer
9 inspection contains some nice default bash junk:
10
11 $ ls -a /etc/skel/
12 total 32K
13 drwxr-xr-x 3 root root 4.0K 2013-06-06 10:53 .
14 drwxr-xr-x 113 root root 12K 2014-01-05 01:24 ..
15 -rw-r--r-- 1 root root 127 2013-06-06 10:53 .bash_logout
16 -rw-r--r-- 1 root root 193 2013-06-06 10:53 .bash_profile
17 -rw-r--r-- 1 root root 551 2013-06-06 10:53 .bashrc
18 drwx------ 2 root root 4.0K 2007-11-23 14:25 .ssh
19
20 The 'useradd' program {might,should} install these for you; if not it
21 can be coaxed into it with the --skel flag.
22
23 The .bash_profile in there does what Alan suggests.

Replies

Subject Author
Re: [gentoo-user] Updating $PATH variable permanently for root not working Alan McKinnon <alan.mckinnon@×××××.com>