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?
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.