<div class="gmail_quote">On Thu, Jan 26, 2012 at 10:23 AM, Lightner, Jeff <span dir="ltr">&lt;<a href="mailto:JLightner@water.com">JLightner@water.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Since the script is running as root it has permission to su to any other user it wants.  We have many cron jobs we run as root (so don&#39;t need to sudo to them) that do the switch user when they get to sections that don&#39;t need to be run as root.<br>

<br>
Again you have to be sure the script is only editable by root and is in a directory that can only be changed by root.<div class="im"><br></div></blockquote><div><br></div><div>+1!</div><div><br></div><div>Leam </div></div>