Freebsd Non-root

Running on FreeBSD, you can use the mac_portacl(4) framework to allow a specific user ID to bind specific reserved ports.

First, find the uid of the user you are running sbbs as. Assuming the user name is “sbbs”:

id sbbs


Next, you need to edit /boot/loader.conf and add the line


. Now, you need to add the following lines to /etc/sysctl.conf. Replace “1003” with the uid you found above:


Finally, you will need to apply the changes. Load the module using

kldload mac_portacl

then apply the sysctl.conf changes

service restart sysctl


Now you should be able to run SBBS as the specified user and rebind ports. Make sure you remove the User= line from the UNIX section of the sbbs.ini or you will be unable to recycle the BBS.

See Also

howto/freebsd_non-root.txt · Last modified: 2018/03/04 00:19 by deuce
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0