summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Blut <vincent.debian@free.fr>2023-04-06 17:43:46 +0200
committerVincent Blut <vincent.debian@free.fr>2023-04-06 17:43:46 +0200
commit184fefd418892eb2ddad6e48ee1be11ea6b55172 (patch)
treec77f16b9c030ca0ddc755716022d4c6063a96ffe
parent50ce0273bec04a73170fa24637e77370e6fc8057 (diff)
d/postinst: Do not pass '--force-badname' to adduser command
The default settings for SYS_NAME_REGEX allow system usernames to start with an underscore.
-rw-r--r--debian/postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst
index 8a00a77..17b6f45 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -11,8 +11,7 @@ set -e
case "$1" in
configure)
- adduser --force-badname \
- --system \
+ adduser --system \
--group \
--quiet \
--gecos "Chrony daemon" \