SCIENTIFIC-LINUX-USERS Archives

August 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Summerfield <[log in to unmask]>
Reply To:
John Summerfield <[log in to unmask]>
Date:
Wed, 20 Aug 2008 07:49:31 +0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Salim A. Pathan wrote:
> Hi,
> 
> I've been working on setting up SELinux STRICT policy on a machine with 
> Scientific Linux 5.1. While confining the system users I need to execute 
> a command using sudo with a given SELinux "role" and "type". But 
> surprised to find out that sudo command in SL5.1 is not SELinux aware... 
> There is no -r and -t option available in sudo. I'm using 
> sudo-1.6.8p12-12.el5.i386.rpm.
> 
> Any help will be highly appreciated.
1. use runuser
2. wrap runuser (which root can do without passwd) in sudo (which 
requires user's passwd). In a script, if needs be.

In any event, bug RH. I wouldn't expect SL to deviate from RHEL.




-- 

Cheers
John

-- spambait
[log in to unmask]  [log in to unmask]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

ATOM RSS1 RSS2