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 04-09-2011, 01:15 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
How to give user same access level as root - Fedora 14 - KDE

Hi everyone, I know this topic has been asked a lot of times. But after reading all the threads, I could not find the answer that I am looking for so I'm asking it on this thread instead.

First, I am new to linux I just finished installing Fedora 14 on a different PC which I will be using solely to explore Linux. However the first annoying problem I encountered was that I can't do a lot of things without Linux asking me for the root password. This has become really annoying, I want to stop fedora from asking for root authentication every time I want to explore something here and there.

Among the work-arounds that I've tried and didn't quite work for me are:
1. login as root on the kdm - I can login as root but because I am also encouraging my sister to explore fedora 14 she needs the same access as root too. We have our own preferences so we both need individual accounts that have same access level as root.

2. change userid to 0 (same as root) and modify groups to be exactly the same as root's groups - very bad solution, what it did was make my user a sort of "alias" for the root. It basically uses the same /root/ folder, same settings and all that stuff. Again, my sister and I need separate accounts for a more personal feel.

3. use terminal and go sudo, sudoers, etc - very bad idea, I want to explore using the kde gui. And again I want to eliminate the inconvenience of having to type things over and over again. I'd rather type the password over and over again than having to use terminal and sudo everything.

4. beesu, gksu - anyone knows how to make linux automatically wrap everything with beesu/gksu?

since we are just exploring, we are willing to trade the systems, integrity and security for the convenience of having freedom to explore everything in it. I don't care, it could blow up the pc for all I care (it's old and for experiment anyway).

This exploring linux of ours is a make or break for us to using linux. If there is no solution to this problem, we'll probably scrap the whole "migrate to linux" idea.

I thinking of making Linux recognize our user id the same way it recognizes uid 0 but I have no idea how to do this.

Last edited by MakeOrBreak; 04-09-2011 at 01:16 PM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-09-2011, 01:27 PM   #2
Registered: Jul 2006
Location: VPN Tunnel, USA
Distribution: Slackware64
Posts: 930

Rep: Reputation: 113Reputation: 113
The inherent security of the GNU/Linux operating system is based on the fact that the administrative levels of access are kept separate from the user levels. There should really be very little need for a user to require root access for most of his/her needs. Logging in to your operating system as root defeats the purpose of separation of access. You may as well be running MS Windows and have your arse flying out in the breeze. GNU/Linux, and especially a security-minded distribution like Fedora Core, is set up specifically with security in mind. Keep in mind that Linux got its start from Unix, an operating system that was designed to host numerous users.

It's your computer and operating system, so you can do as you please. However, I would not recommend defeating this inherent security of the operating system. That is my opinion.


2 members found this post helpful.
Old 04-09-2011, 01:45 PM   #3
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I agree with vtel57.

Nevertheless if I wanted to easily do what is in the original post I would log on as a normal user, open a terminal window, allow X connections from other users, log in as root, and run X applications like Nautilus.

It sounds like the root account is already fully functional. If it was not already so then it could be made fully functional with this one time procedure.

Open a terminal window and enter the following commands.
sudo su -
Once that is done you can simply use su - to gain root access in a terminal window.

I use several user accounts concurrently so I have the following line in my $HOME/.bashrc or $HOME/bash_profile, depending on distribution.
xhost +local:all
Now I can open a terminal window and use su - to log on as any other user, including root. Then I can start any X application and it will display on my screen.

Some distributions will require that the second user execute the following command either interactively or in their $HOME/.bashrc or $HOME/.bash_profile, depending on distribution.
export DISPLAY=":0.0"
Old 04-09-2011, 03:10 PM   #4
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Windows now asks you for permission to do things every time - they figured that out after about 15 years !

Why should we help you turn linux into windows 95 ?

Listen to the experts.

This exploring linux of ours is a make or break for us to using linux. If there is no solution to this problem, we'll probably scrap the whole "migrate to linux" idea.
Well that's probably best then, for all of us.You work with the system or you don't. Please don't presume to threaten the people who use it with no problem, despite your insignificant issues. Maybe you haven't noticed but linux makes NO money from being popular, so your thinly veiled threat means nothing. You are either here because you want to be, or you're not. If it's the latter, then it's your loss.

Last edited by smoker; 04-09-2011 at 03:17 PM.
1 members found this post helpful.
Old 04-09-2011, 04:22 PM   #5
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 360

Rep: Reputation: 40
It all has to do with context. It wasn't that Windows 95/98/NT/XP were inherently insecure it was that it was so easy to run processes as the logged in user (without the logged in user knowing about it) and obviously if that user has administrator rights then so do all processes spawned by him.

Even today with Windows UAC controls, its still relatively simple to bypass the control via the Win32 API that having windows ask you for permission to do everything is really just to aid in user awareness not to really secure the system.

You absolutely do not want to login interactively with root permission because any processes you spawn will inherit root access and that's a risk no one should be willing to take.


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
Help with user permission level--give access to a user 2 use 500 servers svani Linux - Newbie 2 06-17-2010 08:57 PM
How give all access (same as root) to other user amitkansal Linux - Newbie 2 04-19-2010 08:10 AM
gksudo: Give non-root user access to desktop session? Robhogg Linux - Security 1 04-11-2009 12:57 AM
How to give root access to normal user for one day. unix_anand Linux - Security 3 10-14-2008 05:45 AM
Give Root Access To A Normal User waknauss Linux - Security 2 11-11-2004 09:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration