From cde9d5146091256cf91a2103f289c157839d8dae Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Tue, 13 Dec 2016 10:30:13 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index fb7f2e3..ebbf774 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -47,6 +47,7 @@ if [ $? -ne 0 ]; then echo "AD join failed. Please run 'journalctl -xn' to determine why." exit 1 fi +clear echo "Please enter user to add (user without @server.server)" read UseR sudo echo "Configuratig files" @@ -74,7 +75,6 @@ sudo cat /etc/sudoers | grep $myhost sudo cat /etc/sudoers | grep $Group echo "in SSH allow file..." sudo cat /etc/ssh/login.group.allowed | grep $myhost -sudo cat /etc/ssh/login.group.allowed | grep $Group echo " if this is wrong DO NOT REBOOT and contact sysadmin" exec sudo -u root /bin/sh - <