<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Server Sitters Tech Corner &#187; SSH</title>
	<atom:link href="http://serversitters.com/technical/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://serversitters.com/technical</link>
	<description>Outsourced Web Hosting Support</description>
	<lastBuildDate>Wed, 15 Dec 2010 12:03:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Notify when a root user logs in</title>
		<link>http://serversitters.com/technical/security/notify-when-a-root-user-logs-in/</link>
		<comments>http://serversitters.com/technical/security/notify-when-a-root-user-logs-in/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 07:02:32 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=187</guid>
		<description><![CDATA[If you don&#8217;t have this setup already you should! This is a great method to ensure you&#8217;re notified each time the root user connects to your server via SSH. Edit the .bash_profile file of the user whose account you wish to monitor &#8211; typically: /root/.bash_profile echo &#8216;ALERT &#8211; Root Shell Access on:&#8217; `hostname` `date` `who` [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t have this setup already you should!  This is a great method to ensure you&#8217;re notified each time the root user connects to your server via SSH.  </p>
<p>Edit the .bash_profile file of the user whose account you wish to monitor &#8211; typically: /root/.bash_profile</p>
<p>echo &#8216;ALERT &#8211; Root Shell Access on:&#8217; `hostname` `date` `who` | mail -s &#8220;Alert: Root Access on `hostname`&#8221; email@yourdomain.com</p>
<p>You will then receive an email each time the selected user logs into the system via SSH.  The email will provide you with their full connection string and IP so you can keep a close eye on who&#8217;s accessing a particular server with root privileges.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/security/notify-when-a-root-user-logs-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

