From cd949a93d8dc5c28277b6de509be80ce59a5b14d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 3 Mar 2008 15:04:28 -0800 Subject: no longer need sudo-users links for commands Permission to run limited versions of ip, ethtool, and iptables is managed by /etc/sudoers. This allows restricting which options are allowed to be used. --- debian/vyatta-op.postinst.in | 3 --- debian/vyatta-op.postrm.in | 12 ------------ 2 files changed, 15 deletions(-) delete mode 100644 debian/vyatta-op.postrm.in (limited to 'debian') diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in index 5b47eaa..e8bab7f 100644 --- a/debian/vyatta-op.postinst.in +++ b/debian/vyatta-op.postinst.in @@ -5,8 +5,5 @@ exec_prefix=@exec_prefix@ bindir=@bindir@ # add symlinks for sudo -ln -sf /usr/sbin/ethtool ${bindir}/sudo-users/ethtool -ln -sf /sbin/iptables ${bindir}/sudo-users/iptables -ln -sf /bin/ip ${bindir}/sudo-users/ip ln -sf /opt/vyatta/bin/vyatta-show-interfaces.pl ${bindir}/sudo-users/vyatta-show-interfaces.pl ln -sf /opt/vyatta/sbin/vyatta-interfaces.pl ${bindir}/sudo-users/vyatta-interfaces.pl diff --git a/debian/vyatta-op.postrm.in b/debian/vyatta-op.postrm.in deleted file mode 100644 index 8d34999..0000000 --- a/debian/vyatta-op.postrm.in +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -bindir=@bindir@ - -if [ "$1" = "purge" ]; then - # remove added symlinks - rm -f ${bindir}/sudo-users/ethtool - rm -f ${bindir}/sudo-users/iptables -fi - -- cgit v1.2.3