1
0
Fork 0

Replacing adduser with tools from util-linux.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 10:16:14 +01:00
parent a4ff37e4a3
commit 8a74846550
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 6 additions and 8 deletions

2
debian/control vendored
View file

@ -51,8 +51,6 @@ Depends:
lsof,
${misc:Depends},
${shlibs:Depends},
Pre-Depends:
adduser,
Recommends:
frr-pythontools,
Suggests:

12
debian/frr.postinst vendored
View file

@ -5,13 +5,13 @@ set -e
# of normal "configure" or error-handling "abort-upgrade", "abort-remove" or
# "abort-deconfigure"
addgroup --system frrvty
addgroup --system frr
adduser \
groupadd --system frrvty
groupadd --system frr
useradd \
--system \
--ingroup frr \
--home /nonexistent \
--gecos "Frr routing suite" \
-c "Frr routing suite" \
-g frr \
--home-dir /nonexistent \
--no-create-home \
frr
usermod -a -G frrvty frr