diff options
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index e7ac929a..61a4842a 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -23,6 +23,7 @@ esac ln -sf ../vyatta-net.rules /etc/udev/rules.d/$vyatta_net_rules if [ "$sysconfdir" != "/etc" ]; then + touch /etc/sudoers cp -p /etc/sudoers /etc/sudoers.bak # for "admin" level @@ -32,7 +33,6 @@ if [ "$sysconfdir" != "/etc" ]; then fi # cleanup any old entries from previous versions - touch /etc/sudoers ed - /etc/sudoers <<EOF /### BEGIN VYATTA/,/### END VYATTA/d /Cmnd_Alias IPTABLE/,/PPPOE_CMDS/d |