Shell Command with Sudo

Peter Alcibiades palcibiades-first at
Sat Jun 12 05:08:40 EDT 2010

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
View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the Use-livecode mailing list