0

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.

  • Set up sudo permissions for the user to bind ports. – Raman Sailopal Nov 17 '17 at 12:03
  • I don't want to use sudo permissions @RamanSailopal. I am looking some alternative way to achieve the same – Picasu27 Nov 17 '17 at 12:17
  • Should be, but I don't know about jboss. Also see setcap for how to bind ports < 1024 without being root user. Similar to setuid, but for just the capabilities that you want ( unix.stackexchange.com/q/101263/4778 ). – ctrl-alt-delor Nov 17 '17 at 15:14
  • I looked at jboss help. It looks hard to do. So set up a port forwarder, see serverfault.com/a/252199/111338 You will also have to tell JBoss that the proxy is on port 80. – ctrl-alt-delor Nov 17 '17 at 15:23
0

Some options are:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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