Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

closed as not constructive by jrg Dec 25 '12 at 3:43

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

7  
Welcome to AskUbuntu. We'd love to help if you separate the rant and the question and retain the question here. Thanks. –  Mahesh Oct 21 '12 at 9:08
    
I did add it as answer, but would also like to add that this question may be considered a duplicate of askubuntu.com/questions/44418/how-to-enable-root-login –  James Oct 21 '12 at 14:08
    
That I agree on, of course. –  FEichinger Oct 21 '12 at 14:16
    
Also a possible duplicate of askubuntu.com/questions/39281/… –  James Oct 21 '12 at 14:18
    
fine, i'll find another forum where people answer questions, and don't censor others right to freely express an OPINION; which is "security is an OPTION, not a REQUIREMENT, so stop FORCING it on me." –  frumbert Oct 21 '12 at 21:50

1 Answer 1

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.

share|improve this answer
1  
I second that. Having to enter your password, which is however slightly different on all systems prevents you from inadverently issuing a command on the wrong system! –  Floyd Oct 21 '12 at 14:14
    
not knowing the commands is also a great way not to enter them too. –  frumbert Oct 21 '12 at 21:51
    
@frumbert You don't have to not know the commands. You can have a program crash (or that has bugs) and corrupt the whole system because you are running as root. Also, one of the reasons why virus are virtually non-existant on linux is because of not running as root unless you specifically intend to by using sudo. –  James Oct 21 '12 at 23:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.