Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-23-2003, 04:11 PM   #1
Registered: Aug 2003
Posts: 47

Rep: Reputation: 15
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:
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.

Old 12-23-2003, 04:18 PM   #2
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
kde has a super-user terminal function, with a checkbox to remember your password. It should be right on the taskbar.
Old 12-23-2003, 04:20 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Read these threads:

Just cause you think your going to screw up your system doesn't mean you need to practice bad security habits..

Old 12-23-2003, 04:23 PM   #4
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
If you know the inherent danger in working with root authority then why not just stay logged in as root. The effect is the same and less work.

Just remember Linux is only as secure as you make it. You start defeating the security measures and its as vulnerable as a Windows box.


Last edited by Netizen; 12-23-2003 at 04:31 PM.
Old 12-23-2003, 04:41 PM   #5
Registered: Aug 2003
Posts: 47

Original Poster
Rep: Reputation: 15
Okay, I cry uncle. Stupid idea. Just one thing I don't understand though. I type kdesu -- sudo kate and up pops a dialog box asking if I want to keep the password. I enter root passwd and check the box to keep it, but next time I do this, I have to enter the password again. Any idea why it's not remembering this?

Thanks for talking me off the ledge.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Giving root privileges to another user BlackJackal Mandriva 5 10-19-2005 01:03 PM
How to give user always root privileges? SimeonV SUSE / openSUSE 18 06-23-2005 11:02 AM
Root privileges for user ar1 Linux - Security 2 01-07-2005 09:33 PM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 12:12 PM
How can I create a user with the same privileges as the root ? Menestrel Linux - Newbie 3 11-19-2003 09:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration