Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.