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, lsof,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
Pre-Depends:
adduser,
Recommends: Recommends:
frr-pythontools, frr-pythontools,
Suggests: 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 # of normal "configure" or error-handling "abort-upgrade", "abort-remove" or
# "abort-deconfigure" # "abort-deconfigure"
addgroup --system frrvty groupadd --system frrvty
addgroup --system frr groupadd --system frr
adduser \ useradd \
--system \ --system \
--ingroup frr \ -c "Frr routing suite" \
--home /nonexistent \ -g frr \
--gecos "Frr routing suite" \ --home-dir /nonexistent \
--no-create-home \ --no-create-home \
frr frr
usermod -a -G frrvty frr usermod -a -G frrvty frr