Acquiring and creating accounts on "pilatus"

Background

  • pilatus is an SGI Altix 3800. It was originally acquired under the CFI New Opportunities program in 2002/2003 with Arne Storjohann as the Principal Investigator.
  • CFI New Opportunities 2003/2004 with Jeff Orchard as Principal Investigator, proposed an expansion of pilatus to bring it to a total of 64 CPUs, 112 gb RAM, 4 tb disk
  • CFI New Opportunites 2004/2005 with Kevin Hare as Principal Investigator, has proposed a 32 gb RAM expansion

Requesting an account

Creating the account

  • authorized CSCF staff will do the following to create the account:
    • login as root on pilatus (ssh as root from cscf.cs)
      • groupadd -g gid userid
      • useradd -m -c "User's Fullname" -u uid -g gid userid
      • This will create a group, user, and home directory for the user.
        • What userid to use? On cscf.cs you can use idregistry Request Type=User userid (or Type=Group) - for the group you must use the long userid
        • If the userid/group do not already exist, then do the following from cscf.cs as root:
          • idregistry require userid
          • idregistry require userid t=g
    • (where userid should be their shortened UWuserid, if on-campus, or something like userid-inst if off-campus, eg: jsmith-wlu for John Smith at Wilfrid Laurier)
    • this will create /home/userid, their own group, and set /bin/bash as the default shell

Setting the password

  • when the account is first created (or when a user forgets their password):
    • login as root
    • # passwd userid
    • assign a randomly-generated (preferably) password (Note: the command "apg" can be used on cscf.cs to generate a selection of sample passwords)
    • contact the user, preferably by phone, but email if necessary and tell them the password. Let them know that they should login right away and change the password using the passwd command
      • alternatively - create a file called "pilatus.passwd" in their home directory on the CS core, put the password there and send them email letting them know where to find it. Make sure the file is owned by the user and permissions are 600
    • to access the system, they can do the following:
      • ssh pilatus.cs.uwaterloo.ca -l userid (where userid is the one we assigned)

Changing user information

  • if you want to change the full name, use chfn:
    • eg: # chfn -f "Users Fullname - Institution" userid

Add the user to the pilatus mailing list

Re-enabling a disabled account

  • login as root on pilatus (ssh as root from cscf.cs), eg: for user "userid":
pilatus:~ # chsh -s /bin/bash userid
Changing login shell for userid.
Shell changed.

Passwords from Core CS environment

Simply copying and pasting the encrypted password string into /etc/shadow doesn't work. (In fact, ale will then refuse to acknowledge that user as really existing.) This will have to wait until pilatus is xhiered.

-- LawrenceFolland - 29 Nov 2004

Topic revision: r13 - 2013-08-16 - DrewPilcher
Information in this area is meant for use by CSCF staff and is not official documentation, but anybody who is interested is welcome to use it if they find it useful.


Edit

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2014 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback