LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 12-30-2013, 10:07 PM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 223

Rep: Reputation: 15
normal user with root previlages.


Hi,

I am having requirement where normal user want root previlages.

I have added that normal user to gid 0,

Pleae let me know wheather any additioal changes are required?
 
Old 12-30-2013, 10:18 PM   #2
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,656

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by manoj.linux View Post
Hi,

I am having requirement where normal user want root previlages.

I have added that normal user to gid 0,

Pleae let me know wheather any additioal changes are required?
Are you the system admin for that machine? What root access do they need, exactly?

Depending on distro and presence of any other access controls, granting them limited sudo priviledges, or adding them to the wheel group would be a much better way to do that!
 
Old 12-30-2013, 11:21 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,663

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
have the system admin ( the person with the root password)
add that user to the "sudoers" list
and set the programs that that person needs to use

what ever you do DO NOT !!!!!!!!!!
make two root users
DO NOT add a normal user the the root guid ( 500 or 1000)
if that parson can NOT be trusted with the root password then limit what they can do using sudo

Last edited by John VV; 12-30-2013 at 11:22 PM.
 
Old 01-01-2014, 11:26 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,226

Rep: Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022Reputation: 2022
I think you're thinking of the normal starting value for non-priv users (500 or 1000). root gid is always 0 (zero) AFAIK/IME ...
 
  


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
[SOLVED] NetworkManager isn't behaving properly in normal user, but works well in root user. MarkZar Linux - Networking 1 02-16-2013 11:32 PM
How to run daemon process being a normal user [not root user]. narendra1310 Linux - Software 1 10-26-2009 09:48 AM
user with root previlages howto?? kartheekpn Linux - Software 5 06-21-2005 07:16 PM
Lost user previlages as root yesfixit Suse/Novell 6 03-02-2005 03:30 PM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM


All times are GMT -5. The time now is 02:58 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