Re: remote sudo script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux