Re: Set the effective user ID of the Java process.

2017-09-11 Thread Jonathan Yu
On Mon, Sep 11, 2017 at 5:31 AM, Dmitrii Kashin wrote: > > I'd like to add to the conversation that this thread was started because > of the argue here[1] (russian). > > The main point of the argue was dropping privileges from root to some > user after the program performed all the needed actions

Re: Set the effective user ID of the Java process.

2017-09-11 Thread Andrew Haley
On 11/09/17 09:29, DoWhile ForEach wrote: > > Please explain someone why the Java API has not yet implemented a method > that allows you to set the effective user ID of the Java process. Because it's tricky to do in Java, but trivial to do in C and then use the invocation API? -- Andrew Haley J

Re: Set the effective user ID of the Java process.

2017-09-11 Thread dalibor topic
Sounds like https://bugs.openjdk.java.net/browse/JDK-5032600 . cheers, dalibor topic On 11.09.2017 14:31, Dmitrii Kashin wrote: I'd like to add to the conversation that this thread was started because of the argue here[1] (russian). The main point of the argue was dropping privileges from roo

Re: Set the effective user ID of the Java process.

2017-09-11 Thread Dmitrii Kashin
I'd like to add to the conversation that this thread was started because of the argue here[1] (russian). The main point of the argue was dropping privileges from root to some user after the program performed all the needed actions (f.e. when it started listening port < 1024). We've found an exam

Re: Set the effective user ID of the Java process.

2017-09-11 Thread bruno ais
Any idea how it can be done on Windows? Or better yet; is there a cross-platform thing or equivalence of that feature? If not, then that can easily be the reason. On Mon, Sep 11, 2017 at 9:29 AM, DoWhile ForEach wrote: > Hello. > > Please explain someone why the Java API has not yet implemented