0

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?

user221478
  • 31
  • 1
  • 10

1 Answers1

1

I had to log into the virtual terminal via my username and run passwd username to get a new password. The surprising thing was that changing the password helped when i am extremely confident about my previous password.

user221478
  • 31
  • 1
  • 10