<?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: OSSEC: Agentless scripts</title>
	<atom:link href="http://praetorianprefect.com/archives/2009/11/ossec-agentless-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://praetorianprefect.com/archives/2009/11/ossec-agentless-scripts/</link>
	<description>Information security, a little slower...a little deeper</description>
	<lastBuildDate>Tue, 15 May 2012 11:55:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Carlos</title>
		<link>http://praetorianprefect.com/archives/2009/11/ossec-agentless-scripts/comment-page-1/#comment-16127</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Fri, 22 Oct 2010 14:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://praetorianprefect.com/?p=1419#comment-16127</guid>
		<description>&lt;p&gt;BTW,
If I check the syntax and command like this, it brings the right output:&lt;/p&gt;

&lt;p&gt;/var/ossec/agentless/ssh_generic_diff &quot;user@remotehost&quot; grep root /etc/shadow &#124; awk -F: &#039;{print $2}&#039;&lt;/p&gt;

&lt;p&gt;It is not very elegant, any way to improve it a little? 
Thanks in advance,
Carlos.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>BTW,
If I check the syntax and command like this, it brings the right output:</p>

<p>/var/ossec/agentless/ssh_generic_diff &#8220;user@remotehost&#8221; grep root /etc/shadow | awk -F: &#8216;{print $2}&#8217;</p>

<p>It is not very elegant, any way to improve it a little? 
Thanks in advance,
Carlos.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://praetorianprefect.com/archives/2009/11/ossec-agentless-scripts/comment-page-1/#comment-16125</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Fri, 22 Oct 2010 14:40:32 +0000</pubDate>
		<guid isPermaLink="false">http://praetorianprefect.com/?p=1419#comment-16125</guid>
		<description>&lt;p&gt;Hi,
And thanks for the really interesting posts!&lt;/p&gt;

&lt;p&gt;I have a question, I&#039;m trying to run an agentless check, using either scripts or command lie to verify if the root passwd hash has changed since the last check.
Command would be like:
grep root /etc/shadow &#124; awk -F: &#039;{print $2}&#039;&lt;/p&gt;

&lt;p&gt;But is hard to have OSSEC running it without issues, what&#039;s the best approach?
Create a simple shell script, distribute it and have expect running it and checking with generic diff perhaps?&lt;/p&gt;

&lt;p&gt;Thanks in advance,
Carlos.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,
And thanks for the really interesting posts!</p>

<p>I have a question, I&#8217;m trying to run an agentless check, using either scripts or command lie to verify if the root passwd hash has changed since the last check.
Command would be like:
grep root /etc/shadow | awk -F: &#8216;{print $2}&#8217;</p>

<p>But is hard to have OSSEC running it without issues, what&#8217;s the best approach?
Create a simple shell script, distribute it and have expect running it and checking with generic diff perhaps?</p>

<p>Thanks in advance,
Carlos.</p>]]></content:encoded>
	</item>
</channel>
</rss>

