wiki:AddingUsers

Version 2 (modified by k1@…, 12 years ago) (diff)

--

LDAP

To add a new user to the system, we use newuser (or specifically, /usr/local/data/i386-linux/sbin/newuser). This will create the necessary home directory and NFS automount configuration on the machines in addition to the creation of the user. Note that to use this script you will have to have an ssh-agent running with the root account private key added ('eval ssh-agent; ssh-add' should suffice). To change your passwd or shell, use 'passwd' and 'chsh' respectively. 'passwd' takes advantage of PAM and is unmodified from the distribution, whereas 'chsh' had to be reimplimented and lives in /usr/local/bin/chsh. Try '-h' for invocation details and help.

In addition to all this, there is an excellent Java-based LDAP browser available from the CVS tree from src/ldap/ldapbrowser. To use it, check it out from CVS and 'cd' into the directory. From there, run 'lbe.sh', which should bring up the browser. This is used for subsequent edits and group additions, etc.

http://sig.biostr.washington.edu/local/sigdoc/images/lbe.png