Cluster administration

Add user

Add the user on util_serv

ssh util_serv
su
# user's primary group is reichman
/usr/sbin/useradd -d /home/Reichman/UNAME -M -e 20121231 -g reichman -c "First Last" UNAME
groups UNAME
# remember the uid
grep UNAME /etc/passwd
cd /var/yp/ && make

Copy the skeleton files from one of the iris nodes

ssh iris001
su
##rm -r /home/Reichman/UNAME
cp -r /etc/skel/ /home/Reichman/UNAME
ls -a /home/Reichman/UNAME/
chown UNAME:reichman --recursive /home/Reichman/UNAME/

Set the password (util_serv again)

ssh util_serv
su
passwd UNAME
cd /var/yp && make

Add user on vickyp

/usr/sbin/useradd -d /home/reichman/UNAME -m -e 20121231 -c "First Last" -g reichman UNAME
passwd UNAME

Change user expiration date

/usr/sbin/usermod -e 2012-12-31 UNAME

Add user to their group's queues

Use qmon if you have permissions to do so.

Fixing vickyp login issues

cd /usr/share/denyhosts/
/sbin/service denyhosts stop
cp data-null/* data
vi /etc/hosts.deny
/sbin/service denyhosts start

faillog|less

CUChem/ClusterAdmin (last edited 2011-06-14 17:08:16 by RichardDarst)