Re: [SLUG] shell script question

From: Matt Miller (mmiller1@mptotalcare.com)
Date: Wed Jan 29 2003 - 21:39:10 EST


On Wed, 2003-01-29 at 19:40, Levi Bard wrote:
> My line from /etc/sudoers on my home machine looks like:
> levi ALL=NOPASSWD:ALL
>

Probably not the best suggestion; someone with "unauthorized" use of
your userid would have full root access to all commands on your box.

You are better off defining the sudo role.
Something like the following would be more secure:

<userid> root = NOPASSWD: /sbin/reboot
# the assigned user can run (as root) ONLY /sbin/reboot
# a password is not required





This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:57:39 EDT