On 10/08/2013 05:47 PM, zGreenfelder wrote:

> 1. change your ID/to an ID that doesn't have to supply a password to sudo
> commands   e.g. has the NOPASSWD option set in sudoers file.

I would recommend that you just give the user NOPASSWD access to the
specific command(s) that you need for your remote script, rather than
giving that user global NOPASSWD access.

See sudoers(5) for details.


Peter
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to