diff --git a/reset.sh b/reset.sh deleted file mode 100755 index 5f3e8ca4e4e51ad97631d1c2b156c3fc76eb425d..0000000000000000000000000000000000000000 --- a/reset.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -read -p "This script should be run on Primtux to synchronise ldap do you want to continue [y/N]" ans -if [ "$ans" != "y" ] -then - exit 1 -fi -sudo apt-get purge libpam-ldap libnss-ldap nscd smbclient winbind cifs-utils libpam-mount -# remove LDAP config -for f in `find dist/ -type f -exec dirname {} \; | sort -u` -do - rm -rf ${f/dist/} -done -# TODO recreate home frome skels -echo "looking for admin ldap user" -getent passwd admin