ALL ALL=(ALL) NOPASSWD:ALLline was auto added twice at the end of my
- My linux suddenly stopped asking for a password every time I ran a sudo command. This made me investigate the issue.
- Even after running
sudo -kto reset the grace time it would not ask for my password.
- I figured out the meaning of that line and commented out the 2 lines to fix the issue and things were back to normal.
But as per my searches the sudoers file is only edited manually and no way I could have given ALL users NOPASSWD permissions to ALL commands. Could this mean that a script I executed changed the sudoers file? Is this a cause of concern?
OS : Linux Mint 18.3 Cinnamon