- français
- English
Configuration LDAP
Configuration LDAP
!!! 14.04 !!!
- Télécharger le script à la commande line (--> wget "url") https://wiki.epfl.ch/icit/kb/ubuntu1204-ldap
- Le télécharger sur le desktop.
- Le rendre exécutable (chmod + x "url" ou clique droite sur l'icone)
- Devenir root ("sudo su")
- Lancé le script ( ./url ) pour exécuter
!!! 16.04 !!!
Install LDAP + Autmount
curl -s http://install.iccluster.epfl.ch/scripts/it/ldapAutoMount.sh >> ldapAutoMount.sh ;
chmod +x ldapAutoMount.sh
echo "+ : root (IVRL-unit) (IC-IT-unit): ALL" >> /etc/security/access.conf
echo "- : ALL : ALL" >> /etc/security/access.conf
Edit /etc/auto.home
nano /etc/auto.home
# Local accounts should mount their local home
sysadmin -fstype=bind :/localhome/sysadmin
<username> -fstype=bind :/localhome/<username>
Create localhome folder
sudo su
mkdir -p /localhome/sysadmin
chown sysadmin:sysadmin /localhome/sysadmin
Change lightdm.conf
sudo nano /etc/lightdm/lightdm.conf (Ou /usr/share/.. Look on google)
#and add this at the end of the file
greeter-show-manual-login=true
Add sudo
sudo adduser username sudo