As many of us have experienced over the past year, Active Directory users who change their passwords often do not get their FileVault password to sync up since upgrading to macOS High Sierra. This bug has existed since the betas from what I understand but Apple never fixed it. The interwebs has many many many suggestions on how to fix it but the only one that has ever worked consistently for me was to use fdesetup to remove the user and then re-add them to FileVault. The problem is that this requires me to login as admin and have the user sit next to me so they can type their password at the requested time.
What I would like to do is create a self service policy that handles this. The problem is I don't know how to prompt the user for their password via the GUI. I'm sure i could use currentuser=`stat -f "%Su" /dev/console` to get the username in the script, but I can't figure out how to get the password and apply it. Has anyone done anything like this?
Question
Automate fixing High Sierra FileVault password sync
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
