I would like to start JBoss process with root user, because I have to bind ports (<1024).
But after initiating the process, I have to drop privilege of the initiated process. Is it possible? If yes, please provide some info on it.
I would like to start JBoss process with root user, because I have to bind ports (<1024).
But after initiating the process, I have to drop privilege of the initiated process. Is it possible? If yes, please provide some info on it.
Some options are:
authbind, a tool to allow non-root processes to bind to low numbered ports https://superuser.com/a/892391/62123setcap, to give process only the capability it needs What are the different ways to set file permissions etc on gnu/linuxdocker: run in docker, and have docker forward port 80 to the jboss container.