FedoraDS

From MDWiki
Jump to navigationJump to search

Automatic /home/* creation

Edit:

vi /etc/pam.d/login???
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
vi /etc/pam.d/gdm
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077

LDAP client configuration

LDAP Search BASE DN: dc=md, dc=smms, dc=uq, dc=edu, dc=au
ldap://guava.md.smms.uq.edu.au

Adding new user: password is guava's root password

ssh guava -X -l root
/etc/init.d/fedora-ds-admin stop
/etc/init.d/fedora-ds-admin start
cd /opt/fedora-ds
./startconsole -u admin -a http://guava.md.smms.uq.edu.au:60000/
# Inside manager: Servers and Applications->md.smms.uq.edu.au->guava.md.smms.uq.edu.au->Server Group->Directory Server (guava.md.smms.uq.edu.au) (double click)
# Directory->guava.md.smms.uq.edu.au->md->People (right click->New->User)
# Put in details (refer to other entries; for new UID inside POSIX section find an unused UID)
# Exit
mkdir /home/NEWUSERNAME
cp -r /etc/skel/ /home/NEWUSERNAME
chown -R NEWUSERNAME:GROUPNAME /home/NEWUSERNAME