"Please enter the password for $loggedInUserFull, the one used to log in to this Mac:" # Get the logged in user's password via a prompt.Įcho "Prompting $loggedInUser for their Mac password." # get password for currently logged on user Displaying "forgot password" message."Įcho "Successfully prompted for $guiAdmin password." If ] || ] thenĮcho " Password prompt unsuccessful after 5 attempts. Until /usr/bin/dscl /Search -authonly "$guiAdmin" "$guiAdminPass" &>/dev/null doĮcho "Prompting for $guiAdmin Mac password (attempt $TRY)." # Thanks to James Barclay for this password validation loop. "Please enter the password for $guiAdmin:" # Get the $guiAdmin password via a prompt.Įcho "Prompting for $guiAdminPass Mac password." "Please select a user account with that you know the password to:" You need to pass it the local admin user name and password as variables 4 and 5 #! /bin/bash It will prompt the user for their current password and then will remove them from the FV2 users and re-add them. I created the following script as part of a self service policy. Any help with this issue would be greatly appreciated. We are not sure why this is happening and cannot find anything definitive in the system logs. They are also added to the FileVault user list of people that can unlock the drive. Their network account is configured as a mobile account so they didn't need to be connected to the network in order to login. This happens regardless if the user is connected to the network or not. But strangely after logging into a local account and logging back out the user is able to type in the same password that wasn't working before and it will allow them to authenticate. But in recent weeks anytime this user reboots the machine, whenever he attempts to login to his AD account from the login screen his password is not accepted. We have a user running a 2016 MacBook Pro 15" running 10.13.3 that is bound to our AD domain using the directory bind utility and up until recently have had no issue with it. I am having a very strange issue with an AD bound Mac that I am not sure why its happening or how to fix it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |