[refpolicy] sshd and run_init

Justin P. Mattock justinmattock at gmail.com
Thu Jun 24 11:10:44 CDT 2010


On 06/24/2010 09:04 AM, Dominick Grift wrote:
> On 06/24/2010 04:43 PM, Justin P. Mattock wrote:
>> quick question.. just set up sshd as a test with ipsec
>> (everything seems to be running o.k. with the latest policy).
>> the question I have is how do I run run_init to turn this service on and
>> off?
>> right now the current role is staff_r
>> any link's pointing to the right direction would be appreciated..
>
> newrole -r sysadm_r
> su
> run_init /etc/rc.d/init.d/sshd start
>
> Does that work?

I'll try that out and see.. last I remember though staff_r cant go into 
sysadm_r(but this was about a year ago I tried). I'll see and post back.

Justin P. Mattock


More information about the refpolicy mailing list