1# /etc/shadow23auth.shadow module implements authentication by reading /etc/shadow. Alternatively it can be4configured to use helper binary like auth.external does.56```7auth.shadow {8 debug no9 use_helper no10}11```1213## Configuration directives1415### debug _boolean_1617Default: `no`1819Enable verbose logging for all modules. You don't need that unless you are20reporting a bug.2122---2324### use_helper _boolean_25Default: `no`2627Use `LibexecDirectory/maddy-shadow-helper` instead of directly reading `/etc/shadow`.28You need to use that if maddy is running as an unprivileged user29privileges (e.g. when using system accounts).3031You need to make `maddy-shadow-helper` binary setuid, see32cmd/maddy-shadow-helper/README.md in source tree for details.3334TL;DR (assuming you have maddy group):3536```37chown root:maddy /usr/lib/maddy/maddy-shadow-helper38chmod u+xs,g+x,o-x /usr/lib/maddy/maddy-shadow-helper39```40