You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Daniel McGreal <d....@gmail.com> on 2015/09/10 14:32:00 UTC

Wrapper as non-root user

Hi Karaf Users,
Is it possible to configure wrapper to run as a different user? If not, how would I go about achieving similar?
Best, Dan.

Re: Wrapper as non-root user

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Good point for the documentation, I will add a note about that.

Regards
JB

On 09/10/2015 02:41 PM, Daniel McGreal wrote:
> Thanks JB,
> Of course that’s where!
> Best, Dan.
>
> PS I did have a look in the linked documentation before and after your reply, but I don’t see this mentioned there.
>
>> On 10 Sep 2015, at 13:36, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>
>> Sorry, I meant bin/karaf-service (the script that you copy in /etc/init.d). It's where you can specify RUN_AS_USER.
>>
>> Regards
>> JB
>>
>> On 09/10/2015 02:33 PM, Jean-Baptiste Onofré wrote:
>>> Hi Daniel,
>>>
>>> yes, in etc/karaf-wrapper.conf, you can specify RUN_AS_USER
>>>
>>> Take a look on:
>>>
>>> http://karaf.apache.org/manual/latest/users-guide/wrapper.html
>>>
>>> Regards
>>> JB
>>>
>>> On 09/10/2015 02:32 PM, Daniel McGreal wrote:
>>>> Hi Karaf Users,
>>>> Is it possible to configure wrapper to run as a different user? If
>>>> not, how would I go about achieving similar?
>>>> Best, Dan.
>>>>
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Wrapper as non-root user

Posted by Daniel McGreal <d....@gmail.com>.
Thanks JB,
Of course that’s where!
Best, Dan.

PS I did have a look in the linked documentation before and after your reply, but I don’t see this mentioned there.

> On 10 Sep 2015, at 13:36, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> 
> Sorry, I meant bin/karaf-service (the script that you copy in /etc/init.d). It's where you can specify RUN_AS_USER.
> 
> Regards
> JB
> 
> On 09/10/2015 02:33 PM, Jean-Baptiste Onofré wrote:
>> Hi Daniel,
>> 
>> yes, in etc/karaf-wrapper.conf, you can specify RUN_AS_USER
>> 
>> Take a look on:
>> 
>> http://karaf.apache.org/manual/latest/users-guide/wrapper.html
>> 
>> Regards
>> JB
>> 
>> On 09/10/2015 02:32 PM, Daniel McGreal wrote:
>>> Hi Karaf Users,
>>> Is it possible to configure wrapper to run as a different user? If
>>> not, how would I go about achieving similar?
>>> Best, Dan.
>>> 
>> 
> 
> -- 
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com


Re: Wrapper as non-root user

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Sorry, I meant bin/karaf-service (the script that you copy in 
/etc/init.d). It's where you can specify RUN_AS_USER.

Regards
JB

On 09/10/2015 02:33 PM, Jean-Baptiste Onofré wrote:
> Hi Daniel,
>
> yes, in etc/karaf-wrapper.conf, you can specify RUN_AS_USER
>
> Take a look on:
>
> http://karaf.apache.org/manual/latest/users-guide/wrapper.html
>
> Regards
> JB
>
> On 09/10/2015 02:32 PM, Daniel McGreal wrote:
>> Hi Karaf Users,
>> Is it possible to configure wrapper to run as a different user? If
>> not, how would I go about achieving similar?
>> Best, Dan.
>>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Wrapper as non-root user

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Daniel,

yes, in etc/karaf-wrapper.conf, you can specify RUN_AS_USER

Take a look on:

http://karaf.apache.org/manual/latest/users-guide/wrapper.html

Regards
JB

On 09/10/2015 02:32 PM, Daniel McGreal wrote:
> Hi Karaf Users,
> Is it possible to configure wrapper to run as a different user? If not, how would I go about achieving similar?
> Best, Dan.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com