From 8f5305b60ed2efede08f8de2a981a812f23bbbb1 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 8 Nov 2026 15:13:02 +0100 Subject: debian: T9587: restore SUID bit on vyos-op-run When vyos-utils was merged into vyos-1x, the post-install step that sets the SUID bit on vyos-op-run was not carried over. Operator-level users have no sudo rights and rely on that bit for the runner to switch to root after the command-policy check, so every op-mode command they ran silently produced no output. The vyos-1x post-install script now sets the SUID bit again. --- debian/vyos-1x.postinst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 2ff2a33e2..df86e6ed4 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -304,3 +304,8 @@ systemctl enable vyos-dhclient-lease-watch.timer if [ -d /run/systemd/system ]; then systemctl start vyos-dhclient-lease-watch.timer fi + +# Set the SUID bit on the runner +# so that it can have the prigilege to run commands as root. +# Permissions will be enforced at the VyOS command level. +chmod u+s /usr/bin/vyos-op-run -- cgit v1.2.3