sudo access for a user to a script
Hi there --
I am trying to get a non-root account on one of our servers to run a script with sudo capability. To that end, I went into the /etc/sudoers file, and added the following syntax:
Is there another step(s) that I need to take in order to get the sudo access available to the user account?
Are you sure that is the privilege violation? On my system, Ubuntu 10.04, any user can run iptables. That is the default file permission. However there may be a privilege violation if the ordinary user tried to change the tables or perform some other function within iptables.
Maybe something else in nagios or iptables is not being granted privileged access.
Naturally you are trying this by preceding the command with sudo aren't you?
|All times are GMT -5. The time now is 05:42 PM.|