Package Details: authbind 2.2.0-1

Git Clone URL: https://aur.archlinux.org/authbind.git (read-only, click to copy)
Package Base: authbind
Description: Allows non-root programs to bind() to low TCP ports (0-1023)
Upstream URL: http://packages.qa.debian.org/a/authbind.html
Licenses: GPL
Submitter: ant
Maintainer: envolution
Last Packager: envolution
Votes: 31
Popularity: 0.124592
First Submitted: 2007-05-25 14:58 (UTC)
Last Updated: 2024-11-17 23:29 (UTC)

Latest Comments

envolution commented on 2024-11-17 23:44 (UTC) (edited on 2024-11-17 23:56 (UTC) by envolution)

@waller no need to suid the executable

simple example may be:

sudo touch /etc/authbind/byport/21
sudo chmod a+x /etc/authbind/byport/21

now all users can open port 21. so long as the user running authbind has executable access to the port file (correct groups/ownership/etc) they will be able to open the appropriate port. See man authbind for more details

$ ls -latr `which authbind` /etc/authbind/byport/21
-rwxr-xr-x 1 root root 14624 Nov 17 18:31 /usr/bin/authbind
-rwxr-xr-x 1 root root     0 Nov 17 18:40 /etc/authbind/byport/21

$ authbind ./open_port
Successfully opened port 21 for listening.

$ sudo rm /etc/authbind/byport/21

$ authbind ./open_port
Error binding to port 21: Operation not permitted

probackup-nl commented on 2023-04-05 06:56 (UTC)

Hope that a TU will bring this package (with >10 votes) to the community repo. Or even better to core. To have a more fine grained (allow by port number) alternative to setcap (allow all low port numbers).

ewaller commented on 2018-06-22 15:27 (UTC)

Is the binary installed by this package supposed to have the SUID bit set? The program did not work as I expected until I set it by hand?

uberGeek commented on 2017-06-21 01:19 (UTC)

When you have a moment could you add aarch64, armv6h & armv7h to arch()? Thank you much.