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.
To backup:
To restore:
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: