Websites tell me to use sudo
when I have no password, usually tell me one of two things.
- It is bad security
- Or use 'sudo visudo' and the %admin ALL=(ALL) NOPASSWD: ALL line
I would like to not have a password on anything despite the security risks.
Going with option 2, I'm trying to avoid getting prompted to enter a password at all on my account.
So the problem with option 2, is that sudo
is still prompting for a password that does not exist. So I can not use sudo visudo
in order to remove the need to enter a password for sudo, because it prompts for a password.