~azzar1/unity/add-show-desktop-key

1 by drtomc
An initial checkin.
1
#!/bin/sh
2
3
usr="$1"
4
5
mkdir "/home/informatics/jails/$usr"
6
mkdir "/home/informatics/jails/$usr/home"
7
mkdir "/home/informatics/jails/$usr/home/$usr"
8
9
for f in `cd /home/informatics/config/jail; find . -print`
10
do
11
    if [ -d "$f" ]
12
    then
13
        mkdir "jails/$usr/$f"
14
    else
15
        ln "$f" "jails/$usr/$f"
16
    fi
17
done
18
19
chown -R "$usr" "jails/$usr"
20
chgrp -R `id -g "$usr"` "jails/$usr"
21