I tried changing my sudoers.d file to remove authentication from my pc by typing %admin ALL=(ALL) NOPASSWD:ALL without using visudo. However, after doing that anywhere where the sudo command is used, it says that the password that I've entered is incorrect. I tried correcting it, by logging with my username to virtual terminal and running sudo visudo and typing %<username> ALL=(ALL) ALL in vain.
How do I get sudo to recognize my password?