LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-24-2008, 04:07 PM   #1
Teeeravis
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
system-config-display in RHEL5 for non root users


Hello all,

I would like to know if it is possible to allow non-root users to run systems-config-display without giving them the root password and without giving them access to any other sensitive systems.

Essentially can this app be configured to run w/o root privileges and can this be done without allowing access to other root apps.


Thanks
 
Old 11-24-2008, 05:13 PM   #2
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
You want to explore the possibility of allowing restricted sudo access ( /etc/sudoers ) something like the following:

Code:
# User Alias
User_Alias 	DISPLAYADM = user1, user2, user3
# Command Alias 
Cmnd_Alias 	DISPLAY = /usr/bin/system-config-display

# User privilege specification
DISPLAYADM     ALL=NOPASSWD: DISPLAY
This allows all users in the DISPLAYADM field to access system-config-display without entering a password, if you want them to enter their password, just remove the NOPASSWD: doing this will force them to enter THEIR password.

Also the /usr/bin/system-config-display is where the binary is homed on my RHEL 5.2 system it may be different for you.
This solution allows you to give them access to a binary that they need while protecting your root password and it limits their sudo (basically root) power.

Last edited by djsoundfx; 11-24-2008 at 05:23 PM.
 
Old 11-25-2008, 12:21 AM   #3
Teeeravis
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks dj

It looks like this may work for our needs.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to enable package selection in system-config-kickstart in rhel5 mamtasahai1 Linux - Enterprise 3 05-08-2008 09:51 PM
system-config-httpd in RHEL5 - cant start apache :( BigG Red Hat 13 01-31-2008 06:31 PM
Question about system-config-packages tool in RHEL5 server/client sailershen Red Hat 0 04-27-2007 08:46 PM
X session display won't work for non-root users damdegraff Linux - General 3 03-01-2007 10:34 PM
SSH Config - non-root users toccoa Linux - Newbie 1 07-18-2003 10:07 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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