From e8dd64ecadfdfc3243b4cff9edd4d1276c008775 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 15 Jun 2017 14:09:51 +0200 Subject: [PATCH] Create ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 471edfb..a414081 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -138,7 +138,7 @@ read -p "Is your current administrator = "$admins" ? (y/n)?" yn [Yy]* ) sudo echo "$admins" | sudo tee -a /etc/ssh/login.group.allowed;; [Nn]* ) echo "please type name of current administrator" read -p MYADMIN -sudo echo "$MYADMIN" | sudo tee -a /etc/ssh/login.group.allowed;; +sudo echo $MYADMIN | sudo tee -a /etc/ssh/login.group.allowed;; * ) echo "Please answer yes or no.";; esac sudo echo "$NetBios"'\'"$myhost""sudoers" | sudo tee -a /etc/ssh/login.group.allowed