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 08-11-2010, 11:14 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 499

Rep: Reputation: 31
Does have a user in group 'root' all the rights as the user 'root'?


All know there is a user root in group root. Now I will create a user in this group. I think this user should have all the rights as the root. Right?
 
Old 08-11-2010, 11:36 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Not all of them. Users are not the same as groups.

You'll only be able to additionally read/write/execute files in the group root.
 
Old 08-11-2010, 11:53 AM   #3
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Root is a special user with "Super User" abilities as standard, if you want users to have similar abilities there is already the su and sudo facilities available for this task and these are generically speaking... safer then root. Sudo is a very very useful facility in this respect. Adding a user to the root group only matters in response to file permissions only what generally speaking root does not abide by anyway.

Last edited by r3sistance; 08-11-2010 at 11:54 AM.
 
Old 08-12-2010, 05:07 AM   #4
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 499

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by r3sistance View Post
Root is a special user with "Super User" abilities as standard, if you want users to have similar abilities there is already the su and sudo facilities available for this task and these are generically speaking... safer then root. Sudo is a very very useful facility in this respect. Adding a user to the root group only matters in response to file permissions only what generally speaking root does not abide by anyway.
The background of my questions: I will install/deploy some programs which will access files from other users. So I want to create a user in the group of root.
 
Old 08-12-2010, 05:18 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Best to create a dedicated group and add the users & apps to that group. Don't add people or progs to root (even as group root) unless you can't avoid it.
Note that people can belong to more than one group at a time.
You can use the 'id' cmd to see your uid, gid and group memberships.
 
  


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
How do I enforce in Red hat linux that only root user be a member of the "root" group sultf Linux - Security 4 01-08-2009 04:42 PM
user in root group different from root linuxdoniv Linux - Newbie 3 08-12-2008 03:09 AM
User rights..am i not the root? laucian Linux - Newbie 1 10-01-2007 07:41 AM
Giving a user root permission via the root group louisb Linux - Security 6 07-23-2007 12:56 AM
Root/User rights to Root commands? mrde50garfield Linux - Software 2 10-24-2006 05:42 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration