commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: [REPOST][daemon] non-root user cannot start service on unix?
Date Wed, 08 Sep 2004 10:15:52 GMT
Nigel Rantor wrote:
> 
> Hi there,
> 
> I posted this about a week ago, if no-one is actually in charge of 
> daemon could someone let me know?
> 
> Additionally if anyone uses daemon would you like to comment on how you 
> think it should be working, or perhaps why it works as it does?
> 
> Cheese,
> 
>   N
> 
> -------------------------------------------------------------------
> 
> Hi all,
> 
> Using the daemon/jsvc combo I can't seem to start a daemon as a user
> other than root.
> 
> The process dies in set_caps which is the code path it goes through if
> the jsvc binary is compiled on Linux and uses the linux capabilities
> interface to do it's thang.

That is normal.

> 
> I am just wondering if this is the goal or not? Should I be able to run
> a daemon as another user? For a production system it won't matter since
> I will want the servers to eb started from init scripts anyway and can
> pass the --user arg to the jsvc program.
> 
> For development however I don't want to have to run these things as
> root. Additionally some developers may not have the option of running
> things as root on their systems.
> 
> So, I guess I'm asking should I be able to run jsvc as non-root or not?

No, use java instead.

> 
> Cheers,
> 
>   Nige
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message