sysusers.d is not intended for regular users, so let's use useradd
instead.
+++ /dev/null
-u testuser 4711 "Test User" /home/testuser
+++ /dev/null
-q /home/testuser 0700 4711 4711
set -e
set -o nounset
+useradd --uid 4711 --create-home --user-group testuser
+
if command -v authselect >/dev/null; then
# authselect 1.5.0 renamed the minimal profile to the local profile without keeping backwards compat so
# let's use the new name if it exists.