[ale] to sudo or not to sudo

leam hall leamhall at gmail.com
Thu Jan 26 10:28:06 EST 2012


On Thu, Jan 26, 2012 at 10:23 AM, Lightner, Jeff <JLightner at water.com>wrote:

>
>
> 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't need to
> sudo to them) that do the switch user when they get to sections that don't
> need to be run as root.
>
> 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.
>
>
+1!

Leam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20120126/9a800865/attachment.html 


More information about the Ale mailing list