Giving a User Root Privileges
I am a home user of Linux and the only one using my computer. One of my constant frustrations is that I constantly have to be changing back and forth between user and root to do stuff. I mean, I now know how to use the su and sudo commands, but it's still a pain, especially since I have to be constantly entering a password and KDE 3.1 gives me a DCOP error every time I go from root back into user.
So what I asking is is there a way I can just grant the non-root user lawrencegoodman all the privileges as root? I changed my sudoers file to have these lines:
%users ALL=(ALL) NOPASSWD: ALL
lawrencegoodman ALL = NOPASSWD: ALL
But I still have to enter passwords every time I do a root function.
Any advise and suggestions? I am using Suse 8.2.
P.S. I know that for some of you this idea is going to be abhorrent since it makes it easier to screw up configuration files and could compromise security. But I am going to screw these things up anyway; it's just a matter of whether I first will have to enter a password to do it.
Thanks,
Lawrence
|