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-17-2008, 09:10 AM   #1
Registered: Dec 2004
Location: Colombia
Posts: 42

Rep: Reputation: 15
Question Giving root permissions

Hello everybody:

I'm using a Red Hat 7.2 and I need to know how to give root permissions to a regular user.

Old 12-17-2008, 09:15 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Give him the root password ;p
In other words, regular user with root permissions is no more regular user, it's root. No point in having root if regular users can be root. Regular users can't have root permissions.
You can grant some permissions, but not all. For instance, you can give access to some directories, or give the permission to execute some commands, but not give all root permissions at once to a regular user or it wouldn't be a regular user. The root user is special and there can be only one or none. If there was 2 root users they wouldn't be root users at all.

Last edited by Agrouf; 12-17-2008 at 09:22 AM.
Old 12-17-2008, 09:16 AM   #3
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48

The 'easiest' way is using sudo.
Old 12-17-2008, 09:19 AM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
redhat 7.2 is very obsolete, but that is not relevant to this question.

The short answer is that you don't give root privileges to another user--you create users with specific privileges---typically by adding them to specific groups. You can also use sudo.

Tell us more about the context of the question---ie what problem you are trying to solve.


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 a user root permission via the root group louisb Linux - Security 6 07-23-2007 01:56 AM
giving permissions or joining groups? dunny05 Linux - Newbie 2 04-20-2005 06:43 AM
Giving Permissions to a group.... ewhazelwood Linux - General 1 12-07-2004 03:26 PM
giving apache the correct permissions dflorence Linux - Newbie 3 11-06-2003 09:27 AM
Giving a user all root permissions ranixlb Linux - Security 9 05-15-2002 01:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration