Shell Command with Sudo
Richmond
richmondmathewson at gmail.com
Sat Jun 12 05:11:21 EDT 2010
On 06/12/2010 12:08 PM, Peter Alcibiades wrote:
> Is there a reason you cannot use the NOPASSWD option in sudo? Maybe this is
> not how it works in OSX, but what you'd normally do is to edit /etc/sudoers
> to allow this particular user to perform this particular command with the no
> password option, and its done. If you do this, the command can be limited
> to one with specific options. For instance, you can allow shutdown with the
> -h option, but not the -r option. No-one has to know the root password then
> and it is not written anyplace. Yes, you do have to know it to edit
> /etc/sudoers.
>
This is all very charming, but I wonder how one would
effect this from a standalone on an end-user's machine . . . :)
More information about the use-livecode
mailing list