From b34685caa3431f4c83b3ce0e714992ddcdd23b20 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jun 2021 22:06:10 +0200 Subject: Move sudoers file to vyos-1x --- debian/vyatta-cfg-system.postinst.in | 7 ------- 1 file changed, 7 deletions(-) (limited to 'debian') 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 -- cgit v1.2.3