I created a policy that would auto-create/re-create a local "admin" account in the event that an end user decided to delete the original local admin account.
The account gets created but fails to add to FileVault.
When I run the policy, I receive the following output:
MySystemNameHere$ sudo jamf policy
Checking for policies triggered by "recurring check-in"...
Executing Policy Create IT.Admin Account...
Creating user itadmin...
Adding user itadmin to filevault
Error adding user to FileVault: Added users failed error.
Submitting log to https://jss.myjamfjssurl.com:8443/
My policy's "General" options are as follows:
Display Name: Create IT.Admin Account
Enabled: Checked
Category: 02 - Pre-Flight Configurations
Trigger: Recurring Check-in
Execution Frequency: Ongoing
Make Available Offline: Checked
My policy's "Local Accounts" options are as follows:
Action: Create Account
Username: itadmin
Full Name: it.admin
Password: **
Verify Password: **
Home Directory Location: /Users/it.admin
Password Hint: <blank>
Account Picture Location: /Library/User Pictures/Animals/Eagle.tif
Allow user to administer computer: Checked
Enable user for FileVault 2: Checked
Scope:
Targets: All Computers
Additional Notes:
On going policies check in every 30 minutes.
Target systems are running Mountain Lion or Mavericks.
Running JSS 9.22
Any ideas as to why this user is failing to auto-add to FileVault2?
I can manually add the user through System Preferences -> Security & Privacy -> FileVault
Thanks!