-11

Websites tell me to use sudo when I have no password, usually tell me one of two things.

  1. It is bad security
  2. 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.

Mateo
  • 8,152
frumbert
  • 261

1 Answers1

4

Warning: Running as root is a bad idea - You never need to do it. If you do you can very easily and irreparably destroy your system and your data.

If after that warning you still want to do it, then go to http://www.liberiangeek.net/2012/05/login-as-root-in-ubuntu-12-04-precise-pangolin/ and follow the directions to enable super user account. Be forewarned that this is extremely dangerous. It can lead to undesired results happening to your computer with the slightest mistake. It also opens your computer up to many vulnerabilities. Having to sudo to do Super User/Root task is a security and safety feature. Doing otherwise is not recommended. Again, you have been warned.

James
  • 17,576
  • 5
  • 25
  • 38