Adding a new user
1. Login to blizzard and go to the /fs/local/config/passwd directory.
2. Run ./get_user_info.pl -u username
This will get all the user information from LDAP needed to setup the user. You will need to choose the default group, 100 if they are in an NCAR division, 1000 for everyone else.
3. Running ./newuser.pl without any arguments will show the options
-u x Username
-i x UID
-g x GID or group name
-r "x" Real Name
-h x Home Directory
-s x Shell (/bin/tcsh is default)
4. Run something like:
sudo ./newuser.pl -u jam -i 1400 -g gp -r "Joey Mendoza" -h /fs/home/jam -s /bin/tcsh
5. If the user doesn't already exist it will confirm the information before making any changes.
User: jam
UID: 1400
GID: 1578 (gp)
Real Name: Joey Mendoza
Home Dir: /fs/cyclone/u0/jam
Shell: /bin/tcsh
Is this correct? (Y/n):
6. Once confirmed, it will create the user's home directory (only if it doesn't exist), update the passwd, group, and shadow files, and use rsync to push them out to all clients.
7. It is no longer necessary to run pwconv on all systems. The command is automatically run on blizzard from the newuser.pl script and the shadow file is sent to all systems.
8. Quotas are automatically enabled for new users and set to the default.
Modifying Users
Edit the /fs/local/config/passwd/passwd.orig or /fs/local/config/passwd/group.orig files on Blizzard, and then run "sudo /fs/local/config/passwd/passmerge.pl".
*Need to update this information*
If a user needs Samba access, they must have an entry in cyclone's /etc/passwd file. You can just copy/paste the entry from /fs/local/config/passwd/passwd.orig.