[CentOS] sudo issue error with securing commands

Stephen Harris lists at spuddy.org
Thu Nov 8 23:11:21 UTC 2012


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 the : in these lines

":" is one of the characters that needs quoting.

-- 

rgds
Stephen


More information about the CentOS mailing list