This article has been archived and is no longer updated by Apple.

Use an admin password when importing users for FileVault access from a file

When using the fdesetup command to import users from a file, specify an admin password in the top-level password field.

When preparing a plist file to enable a list of users for the fdesetup add -inputplist command, use an administrator's password in the top-level password field.

Note: Using the recovery key in the top-level password field may cause an error to be returned. Use an administrator's password instead.

Learn more

For more information about using this command line tool refer to the fdesetup man page.

The following is an example of a property list file that can be imported:

<plist> <dict> <key>Username</key> <string>admin</string> <key>Password</key> <string>Apple123</string> <key>AdditionalUsers</key> <array> <dict> <key>Username</key> <string>travis</string> <key>Password</key> <string>topsecret</string> </dict> </array> </dict> </plist>

  • admin is the short name of an admin user

  • Apple123 is the password for the user "admin"

  • travis is the short name of a user to enable

  • topsecret is the password for the user "travis"

Published Date: