Tuesday, November 26, 2013
Post-purchase install of sherbert
Just got the new dual hepta-core computer from Microway. Doing the post-install jig right now, taking notes.
- There are 3 ethernet jacks. Only one seems to be effective. Need to follow up with MW on that
- Add new local user & change root password
- Add local user to sudo-ers
adduser foo sudo - Install xfce
sudo apt-get install xfce4
https://wiki.debian.org/Xfce - Partial uninstall of gnome. Uninstall of everything seems rather harsh. Revisit this sometime.
sudo apt-get purge task-gnome-desktop gnome network-manager-gnome gnome-core gnome-keyring - Fix colors on default terminal
- Set hostname
https://wiki.debian.org/HowTo/ChangeHostname - Enable ssh. For some reason it didn't work out of the box.
sudo dpkg-reconfigure openssh-server
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440 - Enable LDAP authentication
ln -s /home /PHShome ln -s /bin/bash /bin/PHSshell
- Don't forget to add /bin/PHSshell into /etc/shells as well, this is required for LDAP user to have sudo access.
sudo apt-get install nslcd libnss-ldapd libpam-ldapd
The configuration tool will ask for:- ldap URI (ldap://ldap.partners.org) - search base (cn=users,dc=partners,dc=org) - services to configure (passwd,shadow)
- Add extra lines to nslcd.conf (and tls certificate) as described here:
http://research.partners.org/wiki/index.php/Active_Directory_on_Unix
Add the following line to /etc/pam.d/common-sessionsession required pam_mkhomedir.so skel=/etc/skel umask=0022
as described here:
https://wiki.debian.org/LDAP/PAM - Install synergy
sudo apt-get install quicksynergy