„uninstall.sh“ hinzufügen

This commit is contained in:
Yann Mölle 2023-04-12 07:43:47 +00:00
parent febb5ab713
commit 9bc57a64c4

5
uninstall.sh Normal file
View File

@ -0,0 +1,5 @@
echo starting uninstall
rm -rf /opt/push
rm /usr/local/bin/sshlogin.sh
grep -v "session optional pam_exec.so seteuid /usr/local/bin/sshlogin.sh" /etc/pam.d/sshd > /etc/pam.d/tmpfile && mv tmpfile /etc/pam.d/sshd
echo uninstalled