Bug 697 - file sudoers was reset
file sudoers was reset
Status: RESOLVED INVALID
Product: Sudo
Classification: Unclassified
Component: Sudoers
1.8.9
PC Other
: low normal
Assigned To: Todd C. Miller
: 698 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-21 02:31 MDT by nhattan
Modified: 2015-07-17 09:28 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.