<?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>Backdrift &#187; syslog</title>
	<atom:link href="http://backdrift.org/tag/syslog/feed" rel="self" type="application/rss+xml" />
	<link>http://backdrift.org</link>
	<description></description>
	<lastBuildDate>Sun, 29 Aug 2010 20:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Logging bash history to syslog using traps</title>
		<link>http://backdrift.org/logging-bash-history-to-syslog-using-traps</link>
		<comments>http://backdrift.org/logging-bash-history-to-syslog-using-traps#comments</comments>
		<pubDate>Tue, 27 Oct 2009 19:08:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://backdrift.org/?p=234</guid>
		<description><![CDATA[This is a handy way to log user&#8217;s bash histories to syslog without making any modifications to the bash source code itself.  Simply drop the following snippet into either the per-user or system-wide bash profile (~/.bash_profile and /etc/profile, respectively)

function log2syslog
&#123;
   declare COMMAND
   COMMAND=$&#40;fc -ln -0&#41;
   logger -p local1.notice [...]]]></description>
		<wfw:commentRss>http://backdrift.org/logging-bash-history-to-syslog-using-traps/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
