User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
build:debian [2013/04/16 00:28]
Admin [Package Selection] Remove portmap.
build:debian [2013/04/16 00:31] (current)
Admin [Root Aliases] Set email alias for root.
Line 120: Line 120:
-===== MOTD ===== +===== Root Alias =====
- +
-Debian comes with an MOTD (message of the day) that contains some information about Debian. The MOTD file gets displayed at login, and we don't need to see the Debian info. So we clear the MOTD files:+
 +Debian sends some emails to root. We need to forward those emails to someone who will actually read them.
 <code rootshell>​ <code rootshell>​
-echo "" ​/etc/motd +# Set this to a comma-separated list of email addresses. 
-echo ""​ > /​etc/​motd.tail+ROOT_EMAIL_RECIPIENTS='​'​ 
 +sed -i -e "s|^root:​.*\$|root:​ $ROOT_EMAIL_RECIPIENTS|" /etc/aliases 
 </​code>​ </​code>​
build/debian.txt · Last modified: 2013/04/16 00:31 by Admin