Hi,
We have been migrating macs across the company and after running scripts to reACL local home folders to the new AD account, we noticed that we need to re-enable the FileVault user in System Preferences.
The problem with this now is that the user sees two FileVault enabled accounts (with the same username) on the initial screen at boot.
After a bit more digging (using the fdesetup list and fdesetup list -extended commands) I can see that the old account is still visible with a UUID but no name associated.
For example...
1) Running 'sudo fdesetup list' displays..
(null),EBADDBBC-FB36-4A95-8D74-DACA5FE23281
2) Running 'sudo fdesetup list - extended' displays..
ESCROW UUID TYPE USER
EBADDBBC-FB36-4A95-8D74-DACA5FE23281 OS User
So the User field is blank.
I know i can run "sudo fdesetup remove -uuid EBADDBBC-FB36-4A95-8D74-DACA5FE23281" , but to do this for everyone will be time consuming as obviously the UUIDs will be different.
Is there a way i can target the "(null)" account for removal so i can push the script to multiple macs?
I have attached a screenshot from terminal (blanked out usernames for obvious reasons.)
Thanks!