
cat - >/etc/motd.tail <<EOF
WebDAV CGI URL: https://localhost:4443/
          Test-User 1: testuser1  (password: testuser1)
	  Test-User 2: testuser2  (password: testuser2)
	  

Ubuntu-System:
	Username: adminuser, Password: adminuser 
	Become root: sudo -i 
	SSH: ssh -l adminuser -p 2222 localhost

EOF


cp /etc/issue /etc/issue.orig
cat  /etc/motd.tail /etc/issue.orig > /etc/issue


sed -i 's/getty -8/getty -8 -a adminuser/' /etc/init/tty[12].conf

sed -i 's/compat/compat ldap/' /etc/nsswitch.conf

