Questions tagged [authbind]

authbind software allows a program that would normally require superuser privileges to access privileged network services to run as a non-privileged user.

authbind allows the system administrator to permit specific users and groups access to bind to TCP and UDP ports below 1024. Ports 0 - 1023 are normally privileged and reserved for programs that are run as the root user. Allowing regular users limited access to privileged ports helps prevent possible privilege escalation and system compromise if the software happens to contain software bugs or is found to be vulnerable to unknown exploits.

  • authbind achieves this by defining the LD_PRELOAD environment variable.
  • authbind is currently distributed with the Debian and Ubuntu Linux distributions

  • https://en.wikipedia.org/wiki/Authbind

4 questions
80
votes
7 answers

Allowing a regular user to listen to a port below 1024

I need to allow a non-root user to run a server listening on port tcp/80. Is there any way to do this?
peoro
  • 3,658
  • 3
  • 32
  • 32
2
votes
1 answer

AUTHBIND: Unable to authbind with tomcat 6 on redhat host

I have a redhat linux server with tomcat 6.0.39 installed. Before I deploy any web application and open my server to the public I would like to learn how to run tomcat startup script with my tomcat user binding to the 80 port. This is what I have…
user3513075
  • 83
  • 2
  • 8
2
votes
1 answer

Principle of least privilege: Does Authbind helper really need setuid root, or can it run with cap_net_bind_services?

Does Authbind's helper really need setuid root, or can it run with the CAP_NET_BIND_SERVICES capability and still work?
user314104
  • 359
  • 3
  • 11
1
vote
1 answer

Starting Apache Httpd at Boot time with Zero intervention, CentOS and authbind

I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!) Later of Apache was installed: # ./configure --prefix=/usr/local/httpd…
QA_Col
  • 474
  • 2
  • 7
  • 15