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,
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Pre-Depends:
|
||||
adduser,
|
||||
Recommends:
|
||||
frr-pythontools,
|
||||
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
|
||||
# "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
|
||||
|
|
Loading…
Add table
Reference in a new issue