next message in archive
no next message in thread
previous message in archive
Index of Subjects
OK, now on to the office approval steps, $CS_ROOT/etc/cgi-membin/memupdate: stamp=`getdate` today=`putdate %Y%m $stamp` acctlog=$CS_PRIVATE/log/namedb/$today acctfile=$CS_PRIVATE/namedb/`login2dir $cgi_LOGIN` # copy stuff to namedb, etc. newacct-setup $CS_PRIVATE/registration/db.$canon echo "activated|id|$stamp|iwhite" >> $acctfile echo "a|$cgi_LOGIN|id|$stamp|iwhite" >> $acctlog # optional... send-mem-mail "$cgi_LOGIN" "new" "NewAcct" "id" At this point you can run $CS_ROOT/cronbin/passwd-batch if you don't want to wait for cron, and the accounts should be set up. This should get you started, you can probably see steps you can skip or optimize away (newacct-setup can be skipped if you just create the pw.$canon entry and stick the namedb entry directly under namedb). Michael
next message in archive
no next message in thread
previous message in archive
Index of Subjects