2008-10-13 22:04:29

by Justin P. Mattock

[permalink] [raw]
Subject: [refpolicy] newrole without even knowing

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;

--
Justin P. Mattock


2008-10-14 12:19:29

by Daniel Walsh

[permalink] [raw]
Subject: [refpolicy] newrole without even knowing

Justin Mattock wrote:
> 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.

2008-10-14 15:04:18

by Justin P. Mattock

[permalink] [raw]
Subject: [refpolicy] newrole without even knowing

On Tue, Oct 14, 2008 at 5:19 AM, Daniel J Walsh <[email protected]> wrote:
> Justin Mattock wrote:
>> 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.
>

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.
>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;

--
Justin P. Mattock