summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-cfg-system.postrm')
-rw-r--r--debian/vyatta-cfg-system.postrm4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/vyatta-cfg-system.postrm b/debian/vyatta-cfg-system.postrm
index 46ec1aaa..5b22f66b 100644
--- a/debian/vyatta-cfg-system.postrm
+++ b/debian/vyatta-cfg-system.postrm
@@ -3,8 +3,8 @@
if [ "$1" = "purge" ]; then
rm -f /etc/udev/rules.d/*vyatta-net.rules
- sed -i '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers
-
+ sed -i -e '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers
+ sed -i -e 'g/^password/d' /etc/pam.d/password
fi
# Local Variables: