From ee2961b2f7906cb3479a33a0f724e8156f3d2906 Mon Sep 17 00:00:00 2001 From: Assaf Dori Date: Fri, 1 Mar 2024 11:04:18 +0200 Subject: [PATCH] updating script --- bypass-mdm.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bypass-mdm.sh b/bypass-mdm.sh index cd44897..88864ac 100644 --- a/bypass-mdm.sh +++ b/bypass-mdm.sh @@ -14,19 +14,19 @@ options=("Bypass MDM from Recovery" "Reboot") select opt in "${options[@]}"; do case $opt in "Bypass MDM from Recovery") - echo -e "${GRN}Bypass from Recovery" + echo -e "${YEL}Bypass from Recovery" if [ -d "/Volumes/Macintosh HD - Data" ]; then diskutil rename "Macintosh HD - Data" "Data" fi - echo -e "${GRN}Create a new user" - echo -e "${BLU}Press Enter to continue, keaving it blank will default to the default user ('Apple')" - echo -e "Enter Real Name (Default: Apple)" + echo -e "${NC}Create a new user" + echo -e "${NC}Press Enter to continue, leaving it blank will default to the default user ('Apple')" + echo -e "Enter Temporary Name (Default: Apple)" read realName realName="${realName:= Apple}" - echo -e "${BLUE}Enter username ${RED}No Spaces Allowed (Default: Apple)" + echo -e "${NC}Enter Temporary Username ${RED}No Spaces Allowed ${NC}(Default: Apple)" read username username="${username:=Apple}" - echo -e "${BLUE}Enter the password (Default: 1234)" + echo -e "${NC}Enter the password (Default: 1234)" read passw passw="${passw:=1234}" dscl_path='/Volumes/Data/private/var/db/dslocal/nodes/Default'