Write /etc/motd and last login time