summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.postinst
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-28 21:31:00 +0100
committerGitHub <noreply@github.com>2024-03-28 21:31:00 +0100
commitf30a22ebde92302916282be4fe40489efaaf3b3e (patch)
treec948506faa5ebfb53bca96ec5ae667c080a85f7a /debian/vyos-1x.postinst
parent4412edb14062cc53ede8ac6edbc584596d8abd47 (diff)
parenta39f8c73ba6063c01e734b27a6e6a6dc72b20a2d (diff)
downloadvyos-1x-f30a22ebde92302916282be4fe40489efaaf3b3e.tar.gz
vyos-1x-f30a22ebde92302916282be4fe40489efaaf3b3e.zip
Merge pull request #3210 from sarthurdev/T6174
dhcp: T6174: Add TACACS/Radius users to _kea group
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r--debian/vyos-1x.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 74fd229b4..0e6e3c863 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -71,6 +71,7 @@ if ! grep -q '^tacacs' /etc/passwd; then
adduser --quiet tacacs${level} sudo
adduser --quiet tacacs${level} disk
adduser --quiet tacacs${level} frr
+ adduser --quiet tacacs${level} _kea
fi
level=$(( level+1 ))
done 2>&1 | grep -v "User tacacs${level} already exists"
@@ -102,6 +103,7 @@ if ! grep -q '^radius_priv_user' /etc/passwd; then
adduser --quiet radius_priv_user disk
adduser --quiet radius_priv_user users
adduser --quiet radius_priv_user frr
+ adduser --quiet radius_priv_user _kea
fi
# add hostsd group for vyos-hostsd