To allow a non-root user the ability to run some or all commands that are currently only allowed for root, install and configure sudo for the commands you want.
Main Topics
Browse All TopicsIf I add a particular user to "root" group will that user have root previleges?
If not what are the previleges that user will have?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If the user is in the group 'root' he will have all accesses granted by GROUP permission in the file system for files owned by the root group:
i.e. he will be able to read a file with those perm
-rw-r----- 1 root root thefile
the important part is the middle of the perms :
r-- for the GROUP
So if you want to see all file accessible in a way by someone in group 'root' :
find / -group root | xargs ls -l
and look at the permissions (group part)
Now to commplete others answers :
On some systems (BSD among others) there is a special 'root/admin' group called 'wheel' that you must belong to, before executing some commands like 'su'
The 'sudo' command is indeed, to my mind, the best solution
to allow non root users to execute commands with root rights (just take care to use visudo to configure, instead of editing /etc/sudoers.conf, on most systems it's a common pitfall)
Business Accounts
Answer for Membership
by: jimbbPosted on 2003-03-04 at 23:02:38ID: 8069955
No, he won't have root privs; but what privs he _does_ gain are really system dependent.
For instance, some systems will allow you to run 'su' only if you're in group root (they still need to enter the root password), other users are unable to execute the binary.
Most systems seem to just grant you additional read permissions on some files/devices, and in some cases, write permissions.
As always, don't do it unless you really need to. If you're thinking about doing it then I imagine you have some specific goal in mind?