HCoop
/
clinton
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
52e2a5b
)
fix DBPATH to use rw vol, set system:anyuser=l on Maildir, note that you must be...
author
megacz
<megacz>
Tue, 8 May 2007 23:48:06 +0000
(23:48 +0000)
committer
megacz
<megacz>
Tue, 8 May 2007 23:48:06 +0000
(23:48 +0000)
create-user
patch
|
blob
|
blame
|
history
diff --git
a/create-user
b/create-user
index
377448c
..
6ffab03
100755
(executable)
--- a/
create-user
+++ b/
create-user
@@
-3,8
+3,9
@@
# MUST be executed:
# - on deleuze
# - as a user with an /etc/sudoers line
# MUST be executed:
# - on deleuze
# - as a user with an /etc/sudoers line
-# - member of
wheel unix group
+# - member of
"wheel" unix group on deleuze
# - while holding tickets for a user who can 'ssh -K' to mire
# - while holding tickets for a user who can 'ssh -K' to mire
+# - and is a member of "wheel" on mire
# - while holding tokens for a user who is:
# - a member of system:administrator
# - listed in 'bos listusers deleuze'
# - while holding tokens for a user who is:
# - a member of system:administrator
# - listed in 'bos listusers deleuze'
@@
-53,7
+54,7
@@
ID_CGI=`pts examine $USER.cgi | head -n1 | sed 's_.*, id: *__' | sed 's_,.*__'`
PATHBITS=`echo $USER | head -c 1`/`echo $USER | head -c 2`/$USER
HOMEPATH=/afs/hcoop.net/user/$PATHBITS
MAILPATH=/afs/hcoop.net/common/email/$PATHBITS
PATHBITS=`echo $USER | head -c 1`/`echo $USER | head -c 2`/$USER
HOMEPATH=/afs/hcoop.net/user/$PATHBITS
MAILPATH=/afs/hcoop.net/common/email/$PATHBITS
-DBPATH=/afs/hcoop.net/common/databases/$PATHBITS
+DBPATH=/afs/hcoop.net/common/
.
databases/$PATHBITS
PGDIR=$DBPATH/postgres
MYSQLDIR=$DBPATH/mysql
PGDIR=$DBPATH/postgres
MYSQLDIR=$DBPATH/mysql
@@
-174,6
+175,7
@@
mkdir -p `dirname $MAILPATH`
fs ls $MAILPATH || fs mkm $MAILPATH mail.$USER
fs ls $HOMEPATH/Maildir || fs mkm $HOMEPATH/Maildir mail.$USER
fs sa $MAILPATH $USER all
fs ls $MAILPATH || fs mkm $MAILPATH mail.$USER
fs ls $HOMEPATH/Maildir || fs mkm $HOMEPATH/Maildir mail.$USER
fs sa $MAILPATH $USER all
+fs sa $MAILPATH system:anyuser l
fs sa $MAILPATH $USER.mailfilter all
# DATABASE VOLUME
fs sa $MAILPATH $USER.mailfilter all
# DATABASE VOLUME