Script for admins to create a new user at stacken computer club
fingertxt2json | ||
make-user | ||
query_finger | ||
README.md |
Make-user
For this script to work it needs a heimdal-kerberos, and openAFS enviroment. It also needs admin-tickets in kerberos and for the user to be in finger.json without parenthases. The user also needs to have signed contingent liabilitys, read more about creating a new user here. You run the script by running
./make-user username "full name here"
The script does the following:
- Check that the user is in finger.json without parenthases
- Add user to kerberoes
- Add user to /afs/stacken.kth.se/admin/passwd/master.passwd and update this in RCS
- Creating user AFS-volume