[CentOS] remote sudo script
Peter
peter at pajamian.dhs.org
Tue Oct 8 05:01:59 UTC 2013
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
More information about the CentOS
mailing list