Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
15
tmp/postremove
Normal file
15
tmp/postremove
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if getent passwd amanda 2>&1 >/dev/null; then
|
||||
userdel amanda
|
||||
fi
|
||||
if getent group backup 2>&1 >/dev/null; then
|
||||
groupdel backup
|
||||
fi
|
||||
|
||||
sed -i -e "/^amandaidx/d" /etc/services
|
||||
sed -i -e "/^amidxtape/d" /etc/services
|
||||
|
||||
crontab -r -u amanda
|
||||
|
||||
rm -r /etc/amandates /var/amanda
|
Loading…
Reference in New Issue
Block a user