summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-02 10:07:09 +0100
committerGitHub <noreply@github.com>2024-02-02 10:07:09 +0100
commiteb41a9a96f5284d49156df9120316f46a6ad2f97 (patch)
treea4d4940464c07fd73fac6b0d0f541dcb342acc99 /src/etc
parent4b0a78b0d2e4e0ea813e93b0842ae3aed15d1a43 (diff)
parentdca220d515e6c1009b316400174382b88837df6c (diff)
downloadvyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.tar.gz
vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.zip
Merge pull request #2889 from sarthurdev/kea-hooks
dhcpv6: T3771: Installation of routes for delegated prefixes, add excluded-prefix to PD
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/sudoers.d/vyos3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/sudoers.d/vyos b/src/etc/sudoers.d/vyos
index c099446ba..63a944f41 100644
--- a/src/etc/sudoers.d/vyos
+++ b/src/etc/sudoers.d/vyos
@@ -44,6 +44,8 @@ Cmnd_Alias DIAGNOSTICS = /bin/ip vrf exec * /bin/ping *, \
/bin/ip vrf exec * /bin/traceroute *, \
/bin/ip vrf exec * /usr/bin/mtr *, \
/usr/libexec/vyos/op_mode/*
+Cmnd_Alias KEA_IP6_ROUTES = /sbin/ip -6 route replace *,\
+ /sbin/ip -6 route del *
%operator ALL=NOPASSWD: DATE, IPTABLES, ETHTOOL, IPFLUSH, HWINFO, \
PPPOE_CMDS, PCAPTURE, /usr/sbin/wanpipemon, \
DMIDECODE, DISK, CONNTRACK, IP6TABLES, \
@@ -55,3 +57,4 @@ Cmnd_Alias DIAGNOSTICS = /bin/ip vrf exec * /bin/ping *, \
# Allow members of group sudo to execute any command
%sudo ALL=NOPASSWD: ALL
+_kea ALL=NOPASSWD: KEA_IP6_ROUTES