authbind. Using priviledged ports in non-priviledged applications

Install authbind.

Create a file in


with the port-number you wish yo expose. For example, to expose port 80, create the following file:


Change the user of the file to the user the application is running as, and change the access rights to 755.

Now, run the application like this:

authbind <my-app>

The application now has access to port 80, without requiring sudo rights to run! Authbind can optionally be run with the –deep parameter, to allow all sub-processes access to the port as well.