summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 22:06:10 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 22:06:10 +0200
commitb34685caa3431f4c83b3ce0e714992ddcdd23b20 (patch)
tree39ab764ac9197b296d2a6d7586d242ec43b3c69f /debian
parentaa357cb0f03ef2cc5a0aa2d18d516ab823e384b4 (diff)
downloadvyatta-cfg-system-b34685caa3431f4c83b3ce0e714992ddcdd23b20.tar.gz
vyatta-cfg-system-b34685caa3431f4c83b3ce0e714992ddcdd23b20.zip
Move sudoers file to vyos-1x
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 1db45622..6a5c830c 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -33,13 +33,6 @@ if [ "$sysconfdir" != "/etc" ]; then
-e '/sudo-users/d' \
-e '/env_keep+=VYATTA/d' || true
- # Turn off Debian default for %sudo
- sed -i -e '/^%sudo/d' /etc/sudoers || true
-
- # Add Vyatta entries for sudoers
- cp $sysconfdir/sudoers /etc/sudoers.d/vyatta
- chmod 0440 /etc/sudoers.d/vyatta
-
# purge off ancient devfs stuff from /etc/securetty
cp $sysconfdir/securetty /etc/securetty