Codeguard files backup requires root permissions?

March 6, 2018 402 views
Backups Linux Basics Security CentOS
dt33
By:
dt33

This video guide by Codeguard https://www.youtube.com/watch?v=-IQo23e_LAM 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?

1 Answer

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[@]codeguard.com to see if they can recommend an alternate permissions configuration.

Have another answer? Share your knowledge.