fwtool: allow udp/tcp for all user rules
[hcoop/domtool2.git] / scripts / domtool-addacl
1 #!/bin/sh -e
2
3 USER="$1"
4 if test -z "$USER"; then
5 echo Usage: domtool-addacl USERNAME
6 exit 1
7 fi
8
9 HOMEPATH=`getent passwd $USER | cut -d : -f 6`
10
11 domtool-admin grant $USER user $USER
12 domtool-admin grant $USER path $HOMEPATH
13
14 # disabled since we want to discourage the use of unix groups
15 #domtool-admin grant $USER group $USER