LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-20-2018, 08:29 AM   #1
amjadhpc
LQ Newbie
 
Registered: Apr 2014
Posts: 7

Rep: Reputation: Disabled
Centos Server sudo priviliges to user


Hello,
This is a newbie question .
We have centos server and one user has requested for sudo access as he wants to install software using yum . He contents that asking sys admin to install software is wasting time when he can execute the yum command to install the packages he require for his programs.
The question is can we only give him access to install software using yum and not other root tasks such as adding user/deleting user as the management does not want to give him all the root previliges
 
Old 01-20-2018, 08:43 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,122

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
If a user can install software with root priveledges then a user can be root.
May I ask where you work? I'm an incompetent systm administrator and I'd like a better-paid job pretending I know things.
 
Old 01-21-2018, 03:58 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,759
Blog Entries: 7

Rep: Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685
^ that's a _little_ harsh.

sudo can be set up very individually, there's a famous article (both written and spoken) called "sudo - you're doing it wrong", by the creator of sudo.
i suggest you, amjadhpc, seek it out.
 
Old 01-21-2018, 07:17 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,319
Blog Entries: 30

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Moderator response

Moved: This thread is more suitable in <CentOS> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding user to sudo list on Centos NotionCommotion Linux - Newbie 16 10-19-2016 02:22 AM
[SOLVED] Allow some admin commands but disable sudo and su for a specific user in CentOS 7 robinwurl Linux - Newbie 14 07-18-2015 11:45 PM
Ubuntu Server 10.04 CLI Headless server | Allowing user to SUDO and Hosting Mediawiki wulfsburg Ubuntu 2 06-09-2012 02:58 AM
How to set user priviliges in Apache? bostko Linux - Security 1 12-13-2008 04:14 PM
Suspicious User added with root priviliges z3r0star21 Linux - Security 8 03-03-2006 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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

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