[CentOS] sudo issue error with securing commands

2012-11-08 Thread Gregory Machin
Hi. I have a user that I want to limit to only running a couple of commands ... As in here user just copy and paste where needed , sorry thats all your allowed to do ... but thus far I can't get the syntax correct for the sudoers file line 115| greg ALL = /bin/chmod -R o+rx /opt line 116|

Re: [CentOS] sudo issue error with securing commands

2012-11-08 Thread Stephen Harris
On Fri, Nov 09, 2012 at 11:37:34AM +1300, Gregory Machin wrote: line 117| greg ALL = /bin/chown -R root:root /opt line 118| greg ALL = /usr/bin/setfact -R -m u:greg.reeve:rwx /opt line 119| greg ALL = /usr/bin/setfact -d -R -m u:greg.reeve:rwx /opt Try putting a \ in front of all