Bug 697

Summary: file sudoers was reset
Product: Sudo Reporter: nhattan <honhattan2411>
Component: SudoersAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED INVALID    
Severity: normal    
Priority: low    
Version: 1.8.9   
Hardware: PC   
OS: Other   

Description nhattan 2015-05-21 02:31:01 MDT
I want to add a new user to run all commands without a password so i went to edit /etc/sudoers (using visudo of course) by add line "myuser ALL=NOPASSWD: ALL". Everything is ok, but 15 minutes later, file sudoers was reset to origin.It's mean in the sudoers file didn't have anything that i have typed the previous.
So why does it have to be reset after 15 minutes and how to fix it?
Comment 1 Todd C. Miller 2015-07-17 09:27:09 MDT
*** Bug 698 has been marked as a duplicate of this bug. ***
Comment 2 Todd C. Miller 2015-07-17 09:28:35 MDT
It sounds like you have a configuration management system like chef or puppet syncing your sudoers files between machines.  There is nothing in sudo itself that would revert the sudoers file to an earlier version.