Adding Users
From athena
Only use athena9 to do administrative tasks. All PACS personnel should have logins, and if you need one, please email athena-managers and request it accordingly.
Adding users is simple. Log into a physics machine and check to make sure they have a Physics or Astronomy account:
[richardc@prometheus ~]$ getent passwd | grep jruser jruser:x:1453:340:Joe User:/phys/users/jruser:/bin/tcsh
If they do not have a Physics account, email help@phys.washington.edu. Specify if they are a student, faculty, or staff. If they are a student, we use their UWNetID as their Unix login. If they are faculty or staff they can choose their login.
For Physics and Astronomy we are creating users with personal primary groups for security reasons. However, Moab assumes that a user's primary group is default Moab group. Therefore, each user must have as their primary group one of the five groups:
astro -- Department of Astronomy cenpa -- Center for Nuclear Physics and Astrophysics int -- Institute for Nuclear Theory physics -- Department of Physics escience -- eScience users
So, to add the user shown in the previous example, first create their home directory on p1 (ssh root@p1 from athena9):
[root@p1 ~]# mkdir /psfs/home/jruser [root@p1 ~]# chown 1453:1453 /psfs/home/jruser
Then, create the user (and personal group) on athena0 (ssh root@athena0 from athena9):
[root@athena0 ~]# groupadd -g 1453 jruser [root@athena0 ~]# useradd -u 1453 -g physics -G 1453 -c "Joe User" -d /share/home/jruser jruser [root@athena0 ~]# rocks sync users
Once the user is created, they can be added to other unix groups for the purposes of file sharing by editing /etc/group.
[edit] SSH Keys
To give them ssh access to the cluster, one needs to get their public ssh key and append it to their $HOME/.ssh/authorized_keys -- this currently has some awkwardness mostly due to athena0 mounting the filesystem root_squash.
If they do not currently have a physics ssh key, they must create one. Refer them to http://librarian.phys.washington.edu/athena/index.php/SSH_tutorial
IMPORTANT! They also need to be added to the AllowUser line in the file /etc/ssh/sshd_config and then sshd needs to be restarted!
[edit] Adding Users to the Mailing List
Head to the administrative interface for the UW Technologies Mailman list server: https://mailman1.u.washington.edu/mailman/admin/athena-users