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. |