Trying to add chown user:group /dir/* to /etc/sudoers: syntax error near line xx What now?

Solution Verified - Updated -


We are trying to add /bin/chown user:group /dir/* to a Cmnd_Alias in the sudoers file but getting error:

>>> /etc/sudoers: syntax error near line xx <<<<
>What now?


  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In