Added most of the postinst file; added templates; added nsswitch.conf