Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want a normal (no sudo) user to be able to backup /etc/ and their home directory using Deja Dup. Currently the home folder backup goes fine, but due to lack of permissions /etc does not get backed up.

Is there a way to create a new group, say 'backupers' add the user to it, and then edit visudo to allow the group 'backupers' to use Deja Dup to perform such backups?

At the moment the user can look at files in /etc/ (say with gedit) but can't modify, and that is the way I would like it to stay. But them making a backup is handy.

share|improve this question
add comment

1 Answer

If your purpose in backing up /etc is just to protect against accidental error, consider using etckeeper to store it in version control. Install the etckeeper package, which will automatically set it up, and will automatically commit configuration changes. If you need to revert an erroneous configuration change, use sudo bzr on the /etc/ repository.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.