Adding a New User to Agent1 or Agentm
To add a new user follow these steps:
Look up the persons CS account info (if they have a CS account) so
you can make their UID the same as their CS UID. The /etc/passwd file
on one of Wayne's machines is a good place to find this. You can also
copy their CS password (in encrypted form) into the /etc/passwd file for
their new account.
Create the account:
useradd -g users -u <UID> <username>
Move the user info in /etc/passwd below the NIS entry "+::0:0:::".
Uncomment the two "!!" or the "x" in the /etc/passwd file.
Give the new user a password (passwd <username>). Alternatively you can
copy the password from their CS account into /etc/passwd so they will have
the same password both places.
Make sure a directory was created on /home for the new user.
Update the yellowpages (NIS):
cd /var/yp
make
cd /usr/lib/yp
./ypinit -m (enter CTRL-D and then ENTER at the prompts)
(ignore any errors. They are for tables we don't use.)
For cluster accounts, open up a hole in the firewall if the user needs
access from a machine other than agent1, mayday or solitaire. Alternatively,
you could give them an account on the 007 machines.
Try logging into the new account (if you are the one who set the password.)
Look up the users dartmouth email address in the DND and
send them an email with the text from the
007 form letter or
cluster form letter
for new users. You can also send the email to their CS account but
sending it to their Dartmouth account is safer since they might not
yet be reading their CS mail.