Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After reading the following two posts:

Trying to install an openVPN GUI messed up sudoers

Standards accounts are able to get root access using sudo without password request

I would like to learn how to perform a backup of /etc/sudoers file so that I can restore it in the event of a mess-up after installing a non-Ubuntu-package-ready software.

Any help would be much appreciated.

share|improve this question

If /etc/sudoers is going to be a problem you probably should just keep all of /etc in version control since they're just some text files. Check this out:

share|improve this answer
Thanks for your reply but I am still clueless after reading the page referenced by your URL. I do not know what "version control" and "git" mean. I am new to Ubuntu and yes, I am not an IT guy. I just wish to have a simple method of backing up /etc/sudoers file. – n00b Jul 9 '13 at 2:58

Your Answer


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.