# - 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'
cn: $USER
uid: $USER
gidNumber: $ID
-homeDirectory: $HOMEPATH
sn: $USER
host: abulafia
host: mire
cn: $USER.mailfilter
uid: $USER.mailfilter
gidNumber: $ID_MF
-homeDirectory: $HOMEPATH
sn: $USER.mailfilter
dn: cn=$USER.mailfilter,ou=Group,dc=hcoop,dc=net
cn: $USER.cgi
uid: $USER.cgi
gidNumber: $ID_CGI
-homeDirectory: $HOMEPATH
sn: $USER.cgi
dn: cn=$USER.cgi,ou=Group,dc=hcoop,dc=net
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