<?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 Ninja</title>
	<atom:link href="http://blog.bodhizazen.net/linux/how-to-ninja/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net/linux/how-to-ninja/</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Tue, 31 Jan 2012 20:20:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-3201</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Thu, 24 Mar 2011 15:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-3201</guid>
		<description>@Wolfgang

I would post the script in question as well as those logs on the appropriate (ubuntu) forums to see if you can get some advice. If you do , send me a PM on the forums and I will look at what you post.</description>
		<content:encoded><![CDATA[<p>@Wolfgang</p>
<p>I would post the script in question as well as those logs on the appropriate (ubuntu) forums to see if you can get some advice. If you do , send me a PM on the forums and I will look at what you post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-3187</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Tue, 22 Mar 2011 22:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-3187</guid>
		<description>I&#039;ve been using Ninja for a few months, and only recently had a problem that I can&#039;t figure out.  I am trying to run a script that does an update for me (updates a series of databases from NCBI, it&#039;s a public script called update_blastdb.pl) and every time I execute this script it gets killed.  I&#039;m an authorized user, but I suspect the script launches things and IT isn&#039;t an authorized user.  I&#039;ve appended the relevant  ninja.log entries; I just can&#039;t figure out what I need to modify to get this script to execute when I want it to without disabling Ninja!  Help!

[Tue Mar 22 18:04:55 2011] NEW ROOT PROCESS: update_blastdb.[11693] ppid=11655 uid=0 gid=0
[Tue Mar 22 18:04:55 2011]   - ppid uid=1001(wolfgang) gid=1001 ppid=11654
[Tue Mar 22 18:04:55 2011]   + wolfgang is in magic group, all OK!
[Tue Mar 22 18:04:56 2011] NEW ROOT PROCESS: sh[11704] ppid=11695 uid=65534 gid=0
[Tue Mar 22 18:04:56 2011]   - ppid uid=65534(nobody) gid=0 ppid=11693
[Tue Mar 22 18:04:56 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11704] (parent: perldoc[11695])
[Tue Mar 22 18:04:56 2011]   - sending signal SIGKILL to pid 11704
[Tue Mar 22 18:04:56 2011]   * offending process(es) terminated
[Tue Mar 22 18:04:57 2011] NEW ROOT PROCESS: pager[11706] ppid=11705 uid=65534 gid=0
[Tue Mar 22 18:04:57 2011]   - ppid uid=65534(nobody) gid=0 ppid=1
[Tue Mar 22 18:04:57 2011]   + UNAUTHORIZED PROCESS DETECTED: pager[11706] (parent: sensible-pager[11705])
[Tue Mar 22 18:04:57 2011]   - sending signal SIGKILL to pid 11706
[Tue Mar 22 18:04:57 2011]   * offending process(es) terminated
[Tue Mar 22 18:04:57 2011] NEW ROOT PROCESS: sh[11707] ppid=11695 uid=65534 gid=0
[Tue Mar 22 18:04:57 2011]   - ppid uid=65534(nobody) gid=0 ppid=11693
[Tue Mar 22 18:04:57 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11707] (parent: perldoc[11695])
[Tue Mar 22 18:04:57 2011]   - sending signal SIGKILL to pid 11707
[Tue Mar 22 18:04:57 2011]   * offending process(es) terminated
[Tue Mar 22 18:04:58 2011] NEW ROOT PROCESS: sh[11709] ppid=11695 uid=65534 gid=0
[Tue Mar 22 18:04:58 2011]   - ppid uid=65534(nobody) gid=0 ppid=11693
[Tue Mar 22 18:04:58 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11709] (parent: perldoc[11695])
[Tue Mar 22 18:04:58 2011]   - sending signal SIGKILL to pid 11709
[Tue Mar 22 18:04:58 2011]   * offending process(es) terminated
[Tue Mar 22 18:04:59 2011] NEW ROOT PROCESS: sh[11711] ppid=11695 uid=65534 gid=0
[Tue Mar 22 18:04:59 2011]   - ppid uid=65534(nobody) gid=0 ppid=11693
[Tue Mar 22 18:04:59 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11711] (parent: perldoc[11695])
[Tue Mar 22 18:04:59 2011]   - sending signal SIGKILL to pid 11711
[Tue Mar 22 18:04:59 2011]   * offending process(es) terminated
[Tue Mar 22 18:05:00 2011] NEW ROOT PROCESS: sh[11713] ppid=11695 uid=65534 gid=0
[Tue Mar 22 18:05:00 2011]   - ppid uid=65534(nobody) gid=0 ppid=11693
[Tue Mar 22 18:05:00 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11713] (parent: perldoc[11695])
[Tue Mar 22 18:05:00 2011]   - sending signal SIGKILL to pid 11713
[Tue Mar 22 18:05:00 2011]   * offending process(es) terminated</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using Ninja for a few months, and only recently had a problem that I can&#8217;t figure out.  I am trying to run a script that does an update for me (updates a series of databases from NCBI, it&#8217;s a public script called update_blastdb.pl) and every time I execute this script it gets killed.  I&#8217;m an authorized user, but I suspect the script launches things and IT isn&#8217;t an authorized user.  I&#8217;ve appended the relevant  ninja.log entries; I just can&#8217;t figure out what I need to modify to get this script to execute when I want it to without disabling Ninja!  Help!</p>
<p>[Tue Mar 22 18:04:55 2011] NEW ROOT PROCESS: update_blastdb.[11693] ppid=11655 uid=0 gid=0<br />
[Tue Mar 22 18:04:55 2011]   &#8211; ppid uid=1001(wolfgang) gid=1001 ppid=11654<br />
[Tue Mar 22 18:04:55 2011]   + wolfgang is in magic group, all OK!<br />
[Tue Mar 22 18:04:56 2011] NEW ROOT PROCESS: sh[11704] ppid=11695 uid=65534 gid=0<br />
[Tue Mar 22 18:04:56 2011]   &#8211; ppid uid=65534(nobody) gid=0 ppid=11693<br />
[Tue Mar 22 18:04:56 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11704] (parent: perldoc[11695])<br />
[Tue Mar 22 18:04:56 2011]   &#8211; sending signal SIGKILL to pid 11704<br />
[Tue Mar 22 18:04:56 2011]   * offending process(es) terminated<br />
[Tue Mar 22 18:04:57 2011] NEW ROOT PROCESS: pager[11706] ppid=11705 uid=65534 gid=0<br />
[Tue Mar 22 18:04:57 2011]   &#8211; ppid uid=65534(nobody) gid=0 ppid=1<br />
[Tue Mar 22 18:04:57 2011]   + UNAUTHORIZED PROCESS DETECTED: pager[11706] (parent: sensible-pager[11705])<br />
[Tue Mar 22 18:04:57 2011]   &#8211; sending signal SIGKILL to pid 11706<br />
[Tue Mar 22 18:04:57 2011]   * offending process(es) terminated<br />
[Tue Mar 22 18:04:57 2011] NEW ROOT PROCESS: sh[11707] ppid=11695 uid=65534 gid=0<br />
[Tue Mar 22 18:04:57 2011]   &#8211; ppid uid=65534(nobody) gid=0 ppid=11693<br />
[Tue Mar 22 18:04:57 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11707] (parent: perldoc[11695])<br />
[Tue Mar 22 18:04:57 2011]   &#8211; sending signal SIGKILL to pid 11707<br />
[Tue Mar 22 18:04:57 2011]   * offending process(es) terminated<br />
[Tue Mar 22 18:04:58 2011] NEW ROOT PROCESS: sh[11709] ppid=11695 uid=65534 gid=0<br />
[Tue Mar 22 18:04:58 2011]   &#8211; ppid uid=65534(nobody) gid=0 ppid=11693<br />
[Tue Mar 22 18:04:58 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11709] (parent: perldoc[11695])<br />
[Tue Mar 22 18:04:58 2011]   &#8211; sending signal SIGKILL to pid 11709<br />
[Tue Mar 22 18:04:58 2011]   * offending process(es) terminated<br />
[Tue Mar 22 18:04:59 2011] NEW ROOT PROCESS: sh[11711] ppid=11695 uid=65534 gid=0<br />
[Tue Mar 22 18:04:59 2011]   &#8211; ppid uid=65534(nobody) gid=0 ppid=11693<br />
[Tue Mar 22 18:04:59 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11711] (parent: perldoc[11695])<br />
[Tue Mar 22 18:04:59 2011]   &#8211; sending signal SIGKILL to pid 11711<br />
[Tue Mar 22 18:04:59 2011]   * offending process(es) terminated<br />
[Tue Mar 22 18:05:00 2011] NEW ROOT PROCESS: sh[11713] ppid=11695 uid=65534 gid=0<br />
[Tue Mar 22 18:05:00 2011]   &#8211; ppid uid=65534(nobody) gid=0 ppid=11693<br />
[Tue Mar 22 18:05:00 2011]   + UNAUTHORIZED PROCESS DETECTED: sh[11713] (parent: perldoc[11695])<br />
[Tue Mar 22 18:05:00 2011]   &#8211; sending signal SIGKILL to pid 11713<br />
[Tue Mar 22 18:05:00 2011]   * offending process(es) terminated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dos herramientas para Sysadmins: Ninja y KSplice : Revistalinux.net, Linux, software libre, Ubuntu, programación</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-2182</link>
		<dc:creator>Dos herramientas para Sysadmins: Ninja y KSplice : Revistalinux.net, Linux, software libre, Ubuntu, programación</dc:creator>
		<pubDate>Mon, 20 Sep 2010 10:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-2182</guid>
		<description>[...] algo más sencillo y no tan crítico, como dar acceso de terminal o X  a usuarios finales. Acá hay un post sobre cómo instalarlo en [...]</description>
		<content:encoded><![CDATA[<p>[...] algo más sencillo y no tan crítico, como dar acceso de terminal o X  a usuarios finales. Acá hay un post sobre cómo instalarlo en [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Add a ninja to help protect your server &#124; Linux Shtuff</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1667</link>
		<dc:creator>Add a ninja to help protect your server &#124; Linux Shtuff</dc:creator>
		<pubDate>Mon, 19 Apr 2010 07:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1667</guid>
		<description>[...] RESOURCES How to Ninja and How to Ninja &#8211; Ubuntu 10.04 by [...]</description>
		<content:encoded><![CDATA[<p>[...] RESOURCES How to Ninja and How to Ninja &#8211; Ubuntu 10.04 by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1646</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Fri, 16 Apr 2010 21:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1646</guid>
		<description>@ Mark_in_Hollywood :

The Ubuntu/Debian ninja package has been updated, so after reviewing your post, I posted an updated how to ninja :

http://blog.bodhizazen.net/linux/how-to-ninja-ubuntu-10-04/</description>
		<content:encoded><![CDATA[<p>@ Mark_in_Hollywood :</p>
<p>The Ubuntu/Debian ninja package has been updated, so after reviewing your post, I posted an updated how to ninja :</p>
<p><a href="http://blog.bodhizazen.net/linux/how-to-ninja-ubuntu-10-04/" rel="nofollow">http://blog.bodhizazen.net/linux/how-to-ninja-ubuntu-10-04/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadows of epiphany &#187; Blog Archive &#187; How to Ninja &#8211; Ubuntu 10.04</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1645</link>
		<dc:creator>Shadows of epiphany &#187; Blog Archive &#187; How to Ninja &#8211; Ubuntu 10.04</dc:creator>
		<pubDate>Fri, 16 Apr 2010 20:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1645</guid>
		<description>[...] This blog is an update to my original post on ninja here [...]</description>
		<content:encoded><![CDATA[<p>[...] This blog is an update to my original post on ninja here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark_in_Hollywood</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1641</link>
		<dc:creator>Mark_in_Hollywood</dc:creator>
		<pubDate>Thu, 15 Apr 2010 18:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1641</guid>
		<description>My /var/log/ninja.log is blank or empty. Is that correct?

Running your:

root@karmic# sudo -u nobody /bin/bash
bash: /root/.bashrc: Permission denied

nobody@karmic$ whoami
nobody

nobody@karmic$ sudo -i
[sudo] password for nobody: Killed
nobody@karmic$ Killed
root@karmic#

gave me slightly different results than what you show.</description>
		<content:encoded><![CDATA[<p>My /var/log/ninja.log is blank or empty. Is that correct?</p>
<p>Running your:</p>
<p>root@karmic# sudo -u nobody /bin/bash<br />
bash: /root/.bashrc: Permission denied</p>
<p>nobody@karmic$ whoami<br />
nobody</p>
<p>nobody@karmic$ sudo -i<br />
[sudo] password for nobody: Killed<br />
nobody@karmic$ Killed<br />
root@karmic#</p>
<p>gave me slightly different results than what you show.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gnumax</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1441</link>
		<dc:creator>gnumax</dc:creator>
		<pubDate>Sun, 10 Jan 2010 06:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1441</guid>
		<description>Thank you for sharing this howto, I liked the tool and working properly.

log:

[Sun Jan 10 07:01:57 2010] NEW ROOT PROCESS: su[21536] ppid=21414 uid=0 gid=1000
[Sun Jan 10 07:01:57 2010]   - ppid uid=1000(xxxxx ) gid=1000 ppid=17568
[Sun Jan 10 07:01:57 2010]   + xxxxx is in magic group, all OK!

;)----</description>
		<content:encoded><![CDATA[<p>Thank you for sharing this howto, I liked the tool and working properly.</p>
<p>log:</p>
<p>[Sun Jan 10 07:01:57 2010] NEW ROOT PROCESS: su[21536] ppid=21414 uid=0 gid=1000<br />
[Sun Jan 10 07:01:57 2010]   &#8211; ppid uid=1000(xxxxx ) gid=1000 ppid=17568<br />
[Sun Jan 10 07:01:57 2010]   + xxxxx is in magic group, all OK!</p>
<p>;)&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1152</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Mon, 26 Oct 2009 04:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1152</guid>
		<description>Awesome! nice ninja tutorial</description>
		<content:encoded><![CDATA[<p>Awesome! nice ninja tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: severity1</title>
		<link>http://blog.bodhizazen.net/linux/how-to-ninja/comment-page-1/#comment-1145</link>
		<dc:creator>severity1</dc:creator>
		<pubDate>Mon, 26 Oct 2009 01:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=368#comment-1145</guid>
		<description>neat!</description>
		<content:encoded><![CDATA[<p>neat!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

