MAN page from openSUSE Leap 42 authbind-2.1.1-2.1.x86_64.rpm
Section: Debian Linux manual (8)
Updated: 30th August 1998Index
authbind-helper - helper program to bind sockets to privileged ports without root
SYNOPSIS/usr/lib/authbind/helper addr4-hex port-hex <socket/usr/lib/authbind/helper addr6-hex port-hex 6 <socket
is the program used bylibauthbind
,which is in turn used byauthbind
to allow programs which do not or should not run as root to bind tolow-numbered ports in a controlled way. Seeauthbind
It may also be used standalone, i.e. without assistance fromauthbind.Its standard input should be a TCP/IP socket, and it should be passedtwo or three arguments.
The arguments are the address and port number, respectively, to whichthe caller desires that the socket be bound, and the address family(ommitted for IPv4; the fixed string6for IPv6).addr4-hexandport-hexshould be hex strings,withoutleading0x,of exactly the right length (8 and 4 digits, respectively), beinga pair of hex digits for each byte in the address or port number whenexpressed in host byte order. For example, the port argument is theresult of something likesprintf(arg,%04X,sin.sin_port).addr6-hexshould be a string of 32 hex digits, being a pair for each byte inthe address, in network byte order.
will exit with code 0 on success.
If possible,helperwill return an appropriateerrnovalue as its exit status. If this is not possible it may exit withstatus 255 or with an exit status corresponding toENOSYS(Function not implemented).
(1)for details of the access control regime implemented byhelper
and this manpage were written by Ian Jackson. They areCopyright (C)1998,2012by him and released under the GNU General Public Licence; there is NOWARRANTY. See/usr/doc/authbind/copyright
- EXIT STATUS
- ACCESS CONTROL
- SEE ALSO
This document was created byman2html,using the manual pages.