There are several different ways to create accounts.
source
via the web, email is sent to root and the
addcvsuser
script is run. See
How are CVS accounts created?
source.eecs
and andrews
you can
use the useradd
Solaris command or else
do these steps
/etc/passwd
line from
source or another machine. If they don't have an account,
log on to a CUSG managed machine and run ypcat:
cxh@fortytwo 32% ypcat passwd | grep sprinkle sprinkle:abcdeghijlmno:18869:1018:Jonathan M. Sprinkle, :/home/eecs/sprinkle:/bin/bashWhen you add the line to
/etc/passwd
,
replace the encrypted password with an x
and change the user directory to /home/username
. Note that andrews does
not mount NFS home directories, so we don't use
/home/eecs
.
sprinkle:x:18869:416:Jonathan M. Sprinkle,,,:/home/sprinkle:/bin/bash
/etc/shadow
and add put the encrypted
password in the file:
sprinkle:abcdefghijlmno:12620::::::
pwck
and verify that the password
file is not corrupt. You will see that the user's
home directory is missing, we do that next.
mkdir /home/username cd /home/username cp /usr/cluster/lib/userhome/.??* . chown -R username .
pwck
and verify that the password
file is ok.
groups marysand consider adding the user to those groups by editing
/etc/group
.
grpck
to verify that
/etc/group
is ok.
su - username