saslauthd can run as simple user. current installations install/run it as root Reproducible: Always Actual Results: saslauthd run as root Expected Results: saslauthd run as saslauthd Add an saslauthd_user parameter in /etc/conf.d/saslauthd SASLAUTHD_USER="saslauthd" modify init script from: start-stop-daemon --start --quiet --exec /usr/sbin/saslauthd to start-stop-daemon --start --quiet -c ${SASLAUTHD_USER} --exec /usr/sbin/saslauthd /etc/saslauthd.conf must be root:saslauthd 640 /var/lib/sasl2 must be root:saslauthd umask 007
Next time, please mention the package you're talking about, rather than just the binary. Thanks...
Sorry, it's dev-libs/cyrus-sasl
Created attachment 225107 [details, diff] run saslauthd as a non privilegied user
saslauthd works now for years under saslauth user.