diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 15:04:28 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 15:04:28 -0800 |
commit | cd949a93d8dc5c28277b6de509be80ce59a5b14d (patch) | |
tree | 4029e6dbb6665a500be70149ec216918ea45fc4b /debian | |
parent | 3e10b84a227f60d17c661d30a28bbac3dd74871d (diff) | |
download | vyatta-op-cd949a93d8dc5c28277b6de509be80ce59a5b14d.tar.gz vyatta-op-cd949a93d8dc5c28277b6de509be80ce59a5b14d.zip |
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.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-op.postinst.in | 3 | ||||
-rw-r--r-- | debian/vyatta-op.postrm.in | 12 |
2 files changed, 0 insertions, 15 deletions
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 - |