LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-23-2003, 04:11 PM   #1
lawrencegoodman
Member
 
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:
%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
 
Old 12-23-2003, 04:18 PM   #2
fragglehorn
Member
 
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
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Read these threads:

http://www.linuxquestions.org/questi...oot+privileges

http://www.linuxquestions.org/questi...oot+privileges

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

Regards.
 
Old 12-23-2003, 04:23 PM   #4
Netizen
Member
 
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.

Netizen

Last edited by Netizen; 12-23-2003 at 04:31 PM.
 
Old 12-23-2003, 04:41 PM   #5
lawrencegoodman
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 PM.

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