Highley Recommended, Inc.
[ Home |
News |
Services |
Links ]
Adding/Removing Users
To add a new user to the Unix engineering systems follow these steps:
- Determine which server; moby, neptune, or starfish has the most
available "/export/home" file system space
- Add user to NIS map files on the torpedo system:
/etc/NISmaster/passwd
/etc/NISmaster/group
/etc/mail/aliases
Users currently all belong to the group staff.
- Execute (cd /var/yp; make) to update NIS maps
- Execute /usr/local/lib/convert_aliases a utility that converts
the system alias file to an Elm alias file and updates the
torpedo, neptune, and nimo Elm system alias file.
- Login as root on the system picked for the home directory.
- Create home directory for at "/export/home/loginid".
- Change owner of the directory to be the new user.
- Change group to be staff
- Do an su - "loginid"
- Execute /usr/local/newuser a utility that sets up a standard
environment and e-mails the new user an information file about
the basic configuration. The template files are located at
"/pkg/newuser_files".
To remove users from the system we disable their passwd entry, tar and
compress the users home directory structure and put the file on tape.
We also change their e-mail alias file entry to "/dev/null" to keep
anymore e-mail from being stored for this user. Finally you need to
update the NIS maps and Elm alias files.