Skip to contentSkip to conversation

newrole without even knowing

DISCUSSION Justin Mattock 2 participants 3 messages Oct 13, 2008 – Oct 14, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello; is there an application that I can use for newrole, so I dont have to open a terminal?
i.g. running firefox I have to open a terminal
type newrole -r *_r <passwd> and then firefox
to run. Idealistically I would like to just click on any icon and have them already configured with its role.
I've tried in the menu configuration newrole -r *_r && firefox but I receive nothing.
Any ideas would be appreciated.
regards;

Signature · 1 line
Justin P. Mattock
#1 lore raw
Quoted 11 lines · Justin Mattock

Hello; is there an application that I can use for newrole, so I dont have to open a terminal?
i.g. running firefox I have to open a terminal
type newrole -r *_r <passwd> and then firefox
to run. Idealistically I would like to just click on any icon and have them already configured with its role.
I've tried in the menu configuration newrole -r *_r && firefox but I receive nothing.
Any ideas would be appreciated.
regards;

runcon? Or write policy to transition automatically. You can also do stuff with sudo.

#2 lore raw
Quoted 12 lines · Daniel J Walsh
Quoted 11 lines · Justin Mattock

Hello; is there an application that I can use for newrole, so I dont have to open a terminal?
i.g. running firefox I have to open a terminal
type newrole -r *_r <passwd> and then firefox
to run. Idealistically I would like to just click on any icon and have them already configured with its role.
I've tried in the menu configuration newrole -r *_r && firefox but I receive nothing.
Any ideas would be appreciated.
regards;

Quoted 3 lines

runcon? Or write policy to transition automatically. You can also do stuff with sudo.

Cool, thanks for giving me the info
on how to do that. Having the policy transition automatically sounds nice, its just a matter of knowing what to write and where.

Quoted 1 line

From what it looks like, I'm going to probably have to do some research

before attempting something like that. Anyways as long as it's possible to have such a thing. regards;

Signature · 1 line
Justin P. Mattock