summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-01-24 18:32:55 +0100
committerJonas Smedegaard <dr@jones.dk>2017-01-24 18:32:55 +0100
commitd8554a9399b982d7765bd16c9a08ec6360a7aa7f (patch)
treeeca3d88cd2cbd20c9f77755854bdbb48d20429d5
parentafffe288ba0815216c4c26fe535c4d1ddd16b5b9 (diff)
Fix add --force-badname
-rwxr-xr-xlocaladdpostmaster2
1 files changed, 1 insertions, 1 deletions
diff --git a/localaddpostmaster b/localaddpostmaster
index ff7bd9c..fd79264 100755
--- a/localaddpostmaster
+++ b/localaddpostmaster
@@ -19,7 +19,7 @@ if ! getent group "$postmastergroup"; then
addgroup --system "$postmastergroup"
fi
-adduser --system --no-create-home --group --shell /sbin/noshell "$postmaster"
+adduser --force-badname --system --no-create-home --group --shell /sbin/noshell "$postmaster"
adduser "$postmaster" "$postmastergroup"
password="$(gpw 1 14)"