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.phphttp://www.catb.org/~esr/faqs/smart-questions.htmlhttp://support.microsoft.com/kb/555375
You cannot reply off-list:-)