Login as root, type 'new_user.sh
' and follow the prompts. A copy of the bash script used can be downloaded here.
You will be asked for a username, password, which export directory to save the users home directory to and to confirm that the auto.home file is pointing to the correct location.
If the auto.home file is pointing to the incorrect location typing 'N' will stop the script and delete the user.
OR if you want to add a user manually:
Login as root:
1) adduser ABC
2) passwd ABC
3) rocks sync users
4) go to: cd /export/home
5) verify user ownership of folder: ls -lsrt
6) go to: cd /etc
7) verify their password was created: tail passwd
8) verify their home directory was created: tail auto.home
9) move the home directory to export2-4. First check the hard disk space of export2-4: df
10) redirect the home directory to the hard disk with the most memory available by editing the auto.home file:
change ABC cluster.local:/export/home/ABC
to ABC cluster.local:/exportX/ABC
11) go to: cd /export/home
12) move the ABC directory to /exportX: cp -r ABC /exportX
13) go to: cd /exportX/
14) change the ownership: chown -R ABC:ABC ABC
15) synchronize the cluster: rocks sync users
16) log in as ABC
17) create ".sge_qstat" file. This is a hidden text file so that the qstat command will work
18) edit the ".sge_qstat" file to contain "-u *" and save