# - on deleuze
# - as a user with an /etc/sudoers line
# - member of wheel unix group
+# - while holding tickets for a user who can 'ssh -K' to mire
# - while holding tokens for a user who is:
# - a member of system:administrator
# - listed in 'bos listusers deleuze'
objectClass: posixAccount
cn: $USER
uid: $USER
+uidNumber: $ID
gidNumber: $ID
homeDirectory: $HOMEPATH
sn: $USER
objectClass: posixAccount
cn: $USER.mailfilter
uid: $USER.mailfilter
+uidNumber: $ID_MF
gidNumber: $ID_MF
homeDirectory: $HOMEPATH
sn: $USER.mailfilter
objectClass: posixAccount
cn: $USER.cgi
uid: $USER.cgi
+uidNumber: $ID_CGI
gidNumber: $ID_CGI
homeDirectory: $HOMEPATH
sn: $USER.cgi
fs sa $HOMEPATH/logs/apache $USER.cgi rlwidk
# public_html
-mkdir -p $HOMEPATH/public_html
+mkdir -p $HOMEPATH/public_html/
fs sa $HOMEPATH/public_html system:anyuser rl
+mkdir -p $HOMEPATH/.procmail.d/
+fs sa $HOMEPATH/.procmail.d/ system:anyuser rl
# MAIL VOLUME
vos examine mail.$USER 2>/dev/null || \
fs ls /afs/hcoop.net/old/mail/$PATHBITS || \
fs mkm /afs/hcoop.net/old/mail/$PATHBITS mail.$USER.backup
+# technically this might not be necessary, but for good measure...
vos syncserv deleuze
vos syncvldb deleuze
+
+# refresh volume location cache (takes ~2hrs otherwise)
fs checkvolumes
+ssh mire.hcoop.net fs checkvolumes
#
# Finally, set password for main user's principal