Ldap admin

From DISI
Jump to navigation Jump to search

This page describes how to use user management system. LDAP. https://ds.ucsf.bkslab.org/ldapadmin/. This page is only relevant to sysadmins.

host machine: beta
config file: /etc/phpldapadmin/config.php


Create a new lab member account

login to admin site as super user

In 'People' folder -> create new entry -> generic: User Account

In 'Groups' folder choose 'Portal' -> add the memberUid home directory: /nfs/<name>/home loginShell: /bin/tcsh

sudo yum install pwgen -> install password generator

pwgen -> generate a random password

choose a password

ssh gimel -> login to head node

ssh nfs-home -l <superusername> -> login from gimel to nfs home directory

sudo -i -> become root

cd /srv/home -> go to home directory


Create a new visitor account

In 'Visitors' folder -> create new entry -> generic: User Account

./create-visitor.sh <name> -> run the script to create home directory for new user