Update silent-auth.sh

This commit is contained in:
Michael
2023-12-27 14:18:12 +00:00
committed by GitHub
parent a13d2f6cdb
commit 7180138e05

View File

@@ -23,6 +23,7 @@ IP1=8.8.8.8
IP2=$(echo "$TSSERVERIP")
DT0=$(date "+%D %T")
echo "Execution Record for $DT0"
echo
# SOURCES USER INFO FOR RUNASUSER COMMAND BELOW
currentUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )