Ubuntu – Always Sudo Privileges

permissionsrootsudo

I've searched for this, and the answer is probably in a million places on the 'net, but I can't find it…

How do you give your account root privileges in Linux so that you don't need to sudo every single command that requires privileges? It's even more annoying than Windows's User Accounts Control.

(Please… I don't need a lecture on how I would be living a dangerous life. Thank you.)

Best Answer

Does this work for you?

sudo EDITOR=gedit visudo

Change this line:

%admin ALL=(ALL) ALL

to this line:

%admin ALL=(ALL) NOPASSWD: ALL

No lectures. :)

Related Question