Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm a Java developer writing a web app (Jetty server).

Are there any guides out there are how I might downgrade user permissions using Java?

Most native Linux apps will start as root, open root-only ports like 80/443, then downgrade themselves to a non root user (through a process which I'm not familiar with).

I'd like to be able to do the same in a Java environment.

share|improve this question
1  
See serverfault.com/questions/112795/… –  sergio91pt Sep 23 '11 at 17:27
    
That's what I needed to see, thanks sergio91pt, can you post that as an answer so I can close this off? –  David Parks Sep 23 '11 at 20:18
add comment

1 Answer

up vote 1 down vote accepted

On ServerFault theres a similar question with a bunch of different solutions.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.