Replacing adduser with tools from util-linux.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a4ff37e4a3
commit
8a74846550
2 changed files with 6 additions and 8 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -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
12
debian/frr.postinst
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue