Codeguard files backup requires root permissions?

This video guide by Codeguard instructs adding this line in visudo:

codeguarduser ALL=(ALL) ALL

Just confirming if this is the recommended way? How about giving all read-only permissions?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I am not personally familiar with Codeguard but my guess would be that sudo/root permissions are required for one or more reasons such as:

  • To ensure that special permissions or ownership is not needed for directories and files you will back up. Other parts of an app may require certain ownership or permissions that this requirement could cause problems with.

  • Many backup systems compress data client side before transferring it to a backup server. If this is the case here the tool will not only need access to the files but the ability to run or call tools to achieve this.

I would recommend reaching out to Codeguard at info[@] to see if they can recommend an alternate permissions configuration.