Creating OM1 Accounts
- Become root on om1:
su root.
- Add an entry to /etc/passwd by copying the line corresponding to
another user account and adjust the user name, encrypted password,
user ID, group ID, full name, and home directory. The user name,
user ID, and group ID should match the corresponding values for the
person's MSG account. /etc/passwd on mic is the source for the MSG
values. If there is no corresponding MSG account but the person is
likely to get one (a rotation student or other personnel from an
MSG-affiliated lab, for instance), then coordinate with Matt Harrington
about assigning a user name, user ID, and group ID. If there will not
be a corresponding MSG account, put the person in the Sedat group (101)
and use the next available user ID greater than 12000 (look at
/etc/passwd on om1 for IDs in that range that are currently in use (the
value of 12000 was chosen so that the value will not be likely to ever
clash with a MSG user ID, Sedat Linux user ID, or the user IDs for IRIX,
Linux, or Mac OS X system accounts). The user's home directory should be
/om1/username. For the user's password, the best option
is to put a single * in the password field to disable the account and
have the user come by to set the password when he or she is ready to
use the account (you login as root on om1, run passwd username,
and then have the user enter his or her desired password). Alternatively,
you could assign an initial password, set it with
passwd username, and let the user know the initial value and
how to change it with passwd.
- Create the user's home directory: mkdir /om1/username.
Make the user the owner of the directory: chown username
/om1/username.
- Create a .cshrc file in the user's home directory containing the
following:
if ($?prompt) then
set prompt="`hostname`\!>"
set history=100
endif
- Create a .Xdefaults file in the user's home directory containing the
following:
IVE*fontList: -sgi-screen-bold-*-*-*-16-*-*-*-*-*-*-*
- Make the user the owner of the .cshrc and .Xdefaults files created in
the previous two steps: chown username /om1/username/.{cshrc,Xdefaults}
- There is generally no need to set up Resolve3D configuration files (
OM1Resolve3D.def and KEYBOX.def) in the user's home directory since
the default versions in /usr/local/ucsf_msg/IVE3/APPL/RESOLVE3D/OM1
are good enough to start with.
modified August 20, 2007
Eric Branlund (eric@msg.ucsf.edu)
Macromolecular Structure Group, UCSF http://msg.ucsf.edu)