Install Ubuntu desktop on LCM network

Install needed

sudo apt-get install libpam-ldap libnss-ldap portmap openssh-server sendmail nfs-common


Edit files for LDAP ( / – dc=lost – bind_policy soft)

/etc/libnss-ldap.conf /etc/nss-ldap.conf /etc/pam_ldap.conf


Edit files for pam & nss see

/etc/nsswitch.conf /etc/pam.d/common-account /etc/pam.d/common-auth /etc/pam.d/common-password /etc/pam.d/common-session


Edit files for NFS (/etc/fstab) and add /home///username// nfs rw,nfsvers=3,rsize=8192,wsize=8192,timeo=14,intr,addr= 0 0             /opt/new       nfs rw,rsize=8192,wsize=8192 0 0           /opt/texmf     nfs ro,rsize=8192,wsize=8192 0 0  /opt/ul        nfs rw,rsize=8192,wsize=8192 0 0 /opt/al        nfs rw,rsize=8192,wsize=8192 0 0

And exec :

sudo mkdir /home///username// sudo mkdir /opt sudo mkdir /opt/new sudo mkdir /opt/texmf sudo mkdir /opt/ul sudo mkdir /opt/al

in “~/.bashrc” add “/opt/new/bin” to the “PATH”.

Mail config

(/etc/main/ the line start with D replace by**


Edit files for cups activate browsing



Browsing On

give admin access

sudo addgroupe //user// admin sudo addgroupe damir admin

Fun Install

sudo apt-get install yakuake katapult

Add to /etc/hosts  students radio1 radio2 radio3  fileserver

Route for labs

sudo route add -net netmask gw


change the /etc/logrotate.conf to monthly cadence and maintain the last 12 

months records for every log file.

you can remove the bluetooth subsystem, you don’t need it, and it’s unuseful also the check on the frequency, the fans are not controlled by the chipset.

you can stop the hp daemons they are used only to discover/use the HP printers directly, our printers accept to print only from the printers servers


edit file /etc/ssh/sshd_config change PermitRootLogin yes by

PermitRootLogin no

change X11Forwarding no by

X11Forwarding yes