Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to allow user to bind only certain ports?
For example, I was trying to achieve this:

  • user1: can bind only on ports 4001 and 4002
  • user2: can bind only on ports 5001 and 5002
  • and so on...

I have searched for a solution for a long time using SElinux or apparmor but nothing seems to work as these tools can only set rules to certain executables (correct me if i am wrong).

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.