LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 07: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, 07:43 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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, 02:58 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ 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, 06:17 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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



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 01: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 10:45 PM
Ubuntu Server 10.04 CLI Headless server | Allowing user to SUDO and Hosting Mediawiki wulfsburg Ubuntu 2 06-09-2012 01:58 AM
How to set user priviliges in Apache? bostko Linux - Security 1 12-13-2008 03:14 PM
Suspicious User added with root priviliges z3r0star21 Linux - Security 8 03-03-2006 12:20 PM

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

All times are GMT -5. The time now is 02:18 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
Open Source Consulting | Domain Registration