import repository from arizona
[raven.git] / tools / sfastuff / make_gadmin_user.sh
1 source ./configSfi.sh
2
3 CWD=`pwd`
4 EDITRECORD=$SFIDIR/editRecord.py
5 GENICLI=$SFIDIR/genicli.py
6
7 GACKS_AUTH=plc.arizona
8
9 GADMIN_USERNAME=gacksadmin
10 GADMIN_HRN=$GACKS_AUTH.$GADMIN_USERNAME
11 GADMIN_FIRSTNAME=gacks
12 GADMIN_LASTNAME=admin
13 GADMIN_EMAIL="gadmin.smbaker@gmail.com"
14 GADMIN_PRIVKEY_FN=keys/$GADMIN_USERNAME.pkey
15 GADMIN_PUBKEY_FN=keys/$GADMIN_USERNAME.pubkey
16 GADMIN_GID_FN=keys/$GADMIN_USERNAME.gid
17 GADMIN_REC_FN=$CWD/$GADMIN_USERNAME.record
18
19 # uncomment to make a new key
20 #rm -f tmpkey
21 #rm -f tmpkey.pub
22 #ssh-keygen -N "" -f tmpkey
23 #mv tmpkey $GADMIN_PRIVKEY_FN
24 #mv tmpkey.pub $GADMIN_PUBKEY_FN
25
26 sh ./make_user.sh $GADMIN_HRN $GADMIN_FIRSTNAME $GADMIN_LASTNAME $GADMIN_EMAIL $GADMIN_PUBKEY_FN $GADMIN_REC_FN $GADMIN_GID_FN
27