Juan RP af80cbfe34 base-files: if pwconv/grpconv exist and uid==0, run them.
We do this here to have a single entry point to configure system accounts.
2015-06-03 10:36:31 +02:00

9 lines
173 B
Plaintext

# This script enables shadow password and groups.
case "$ACTION" in
post)
if [ -x bin/pwconv && -x bin/grpconv -a "$(id -u)" -eq 0 ]; then
pwconv && grpconv
fi
;;
esac