From d9f5e503477c19228f6d6d1791240d62464e0bc6 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 15 Jun 2017 08:43:47 +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 26c1211..70ccb41 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -133,7 +133,7 @@ else echo "NOTICE! /etc/ssh/login.group.allowed will be created. make sure yor local user is in it you you could be banned from login" sudo touch /etc/ssh/login.group.allowed admins=$( cat /etc/passwd | grep home | grep bash | cut -d ':' -f1 ) -echo "Is your current administrator = "$admins" ?" +read -p "Is your current administrator = "$admins" ? (y/n)?" yn case $yn in [Yy]* ) sudo echo "$admins" | sudo tee -a /etc/ssh/login.group.allowed;; [Nn]* ) echo "please type name of current administrator"