LinuxQuestions.org
Review your favorite Linux distribution.
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-17-2008, 08:10 AM   #1
Asagath
Member
 
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.

Thanks
 
Old 12-17-2008, 08:15 AM   #2
Agrouf
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 08:22 AM.
 
Old 12-17-2008, 08:16 AM   #3
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Hi,

The 'easiest' way is using sudo.
-eco
 
Old 12-17-2008, 08:19 AM   #4
pixellany
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.
 
  


Reply


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


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

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