<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Enable or Disable Login Messages</title>
	<atom:link href="http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Wed, 10 Mar 2010 21:08:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stefan Schnyder</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-8331</link>
		<dc:creator>Stefan Schnyder</dc:creator>
		<pubDate>Mon, 30 Mar 2009 14:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-8331</guid>
		<description>I wanted to do this myself but creating the .hushlogin file also stops printing the motd file. I like to have my motd message but not the last login info.

I found another solution for Debian. I didn&#039;t test it under Ubuntu but since it&#039;s also Debian based it might work:

Edit the file /etc/pam.d/login

Comment out the line:
session optional pam_lastlog.so
which prints the last login info upon succesful login so it looks like this:
#session optional pam_lastlog.so

This will disable the last login message but still display the content of motd.

Have fun! ;)

Credits go to this guy: http://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2007-09/msg00952.html</description>
		<content:encoded><![CDATA[<p>I wanted to do this myself but creating the .hushlogin file also stops printing the motd file. I like to have my motd message but not the last login info.</p>
<p>I found another solution for Debian. I didn&#8217;t test it under Ubuntu but since it&#8217;s also Debian based it might work:</p>
<p>Edit the file /etc/pam.d/login</p>
<p>Comment out the line:<br />
session optional pam_lastlog.so<br />
which prints the last login info upon succesful login so it looks like this:<br />
#session optional pam_lastlog.so</p>
<p>This will disable the last login message but still display the content of motd.</p>
<p>Have fun! <img src='http://ubuntu-tutorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Credits go to this guy: <a href="http://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2007-09/msg00952.html" rel="nofollow">http://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2007-09/msg00952.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajveer Vashisth</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3555</link>
		<dc:creator>Rajveer Vashisth</dc:creator>
		<pubDate>Fri, 25 Jan 2008 12:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3555</guid>
		<description>Either you can use the following

ex: 
ssh   &quot;df -k &#124; grep -i tmp&quot; 2&gt;/dev/null</description>
		<content:encoded><![CDATA[<p>Either you can use the following</p>
<p>ex:<br />
ssh   &#8220;df -k | grep -i tmp&#8221; 2&gt;/dev/null</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lonnie Olson</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3178</link>
		<dc:creator>Lonnie Olson</dc:creator>
		<pubDate>Thu, 13 Dec 2007 00:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3178</guid>
		<description>My preferred method for handling /etc/motd is to display the server name you just connected to.  A very handy reminder, and lots of fun.

apt-get install figlet
figlet $HOSTNAME &gt; /etc/motd

FYI, the figfonts package contains some really fun fonts to use as well.</description>
		<content:encoded><![CDATA[<p>My preferred method for handling /etc/motd is to display the server name you just connected to.  A very handy reminder, and lots of fun.</p>
<p>apt-get install figlet<br />
figlet $HOSTNAME &gt; /etc/motd</p>
<p>FYI, the figfonts package contains some really fun fonts to use as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yorokobi</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3183</link>
		<dc:creator>Yorokobi</dc:creator>
		<pubDate>Mon, 10 Dec 2007 21:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3183</guid>
		<description>Another option:

Create an empty /etc/issues.net file (`touch /etc/issues.net`) then uncomment the Banner line in /etc/ssh/sshd_config and restart ssh (`/etc/init.d/ssh restart`). This will trim the login [banner&#124;notice&#124;motd] down to one line: an  OS identifier. I tested this on Dapper, haven&#039;t tried it on Feisty or Gutsy.</description>
		<content:encoded><![CDATA[<p>Another option:</p>
<p>Create an empty /etc/issues.net file (`touch /etc/issues.net`) then uncomment the Banner line in /etc/ssh/sshd_config and restart ssh (`/etc/init.d/ssh restart`). This will trim the login [banner|notice|motd] down to one line: an  OS identifier. I tested this on Dapper, haven&#8217;t tried it on Feisty or Gutsy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: munwin</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3182</link>
		<dc:creator>munwin</dc:creator>
		<pubDate>Mon, 10 Dec 2007 02:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3182</guid>
		<description>Do you know if it&#039;s possible to put dynamic information in the motd ? I&#039;d love to put the IPAddress in there. This would be beneficial to local console users (think VMWare images)... But it could change at each boot up - think DHCP... Any ideas ?</description>
		<content:encoded><![CDATA[<p>Do you know if it&#8217;s possible to put dynamic information in the motd ? I&#8217;d love to put the IPAddress in there. This would be beneficial to local console users (think VMWare images)&#8230; But it could change at each boot up &#8211; think DHCP&#8230; Any ideas ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imbrandon</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3181</link>
		<dc:creator>imbrandon</dc:creator>
		<pubDate>Mon, 10 Dec 2007 00:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3181</guid>
		<description>well your *almost* correct with the Message of the Day ( /etc/motd ) information,

when you login you are correct that the information is displayed from /etc/motd BUT you shouldent edit that file directly without also editing /etc/motd.tail ( a skeleton without the boot-time and kernel version at the top ) otherwise on next reboot your /etc/motd message will be overridden by /etc/motd.tail

just FYI :)</description>
		<content:encoded><![CDATA[<p>well your *almost* correct with the Message of the Day ( /etc/motd ) information,</p>
<p>when you login you are correct that the information is displayed from /etc/motd BUT you shouldent edit that file directly without also editing /etc/motd.tail ( a skeleton without the boot-time and kernel version at the top ) otherwise on next reboot your /etc/motd message will be overridden by /etc/motd.tail</p>
<p>just FYI <img src='http://ubuntu-tutorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3180</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Sun, 09 Dec 2007 21:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3180</guid>
		<description>why not just do this:
ssh myserver 2&gt;/dev/null</description>
		<content:encoded><![CDATA[<p>why not just do this:<br />
ssh myserver 2&gt;/dev/null</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mlissner</title>
		<link>http://ubuntu-tutorials.com/2007/12/09/how-to-enable-or-disable-login-messages/comment-page-1/#comment-3179</link>
		<dc:creator>mlissner</dc:creator>
		<pubDate>Sun, 09 Dec 2007 21:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=518#comment-3179</guid>
		<description>Yopu might add that motd stands for Message Of The Day.

On a similar note, you can put messages in your ~/.bashrc file with echo &quot;message text&quot;, and those will get displayed. However, it&#039;s paramount that you not do this because it will break ssh!</description>
		<content:encoded><![CDATA[<p>Yopu might add that motd stands for Message Of The Day.</p>
<p>On a similar note, you can put messages in your ~/.bashrc file with echo &#8220;message text&#8221;, and those will get displayed. However, it&#8217;s paramount that you not do this because it will break ssh!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.135 seconds -->
