diff options
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r-- | debian/vyos-1x.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 136d025d4..2401f730a 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -9,6 +9,9 @@ if [ -x "/etc/init.d/salt-minion" ]; then update-rc.d -f salt-minion remove >/dev/null fi +# Turn off Debian default for %sudo +sed -i -e '/^%sudo/d' /etc/sudoers || true + # Add minion user for salt-minion if ! grep -q '^minion' /etc/passwd; then adduser --quiet --firstuid 100 --system --disabled-login --ingroup vyattacfg \ |