Question

Hello Developers,

I am trying to create Admin Account for the mac Device, while doing DEP enrollment I am applying a profile to create an Admin user, Profile got applied successfully.

the problem which I face I created the Password hash with the simple password 12345678.

The mac Device shows my user name and it taking any password, but based on the document, it should take only 12345678 because I created the password hashed with this only.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Command</key>
    <dict>
        <key>AutoSetupAdminAccounts</key>
        <dict>
            <key>FullName</key>
            <string>Administrator</string>
            <key>Hidden</key>
            <false/>
            <key>ShortName</key>
            <string>admin</string>
            <key>passwordHash</key>
            <dict>
            <key>SALTED-SHA512-PBKDF2</key>
                <dict>
                    <key>entropy</key>
                    <string>
                    f+ChbVUt/FFQCZTGTQ8HTFQrCywMldEICUZwTU2gjrxFzi8mOrr3KT1vBrJ09ReNeNrYeF8SpwIf0VTuUVzt5URVe6sSs1sL0qx4AKtvNRKEZHZGxzz/Y0W7pG9BB5ThN1LNnB8bIzIxIyb0ceMA7PwEgwsbc+BVt8IW3x8X3kI=
                    </string>
                    <key>iterations</key>
                    <integer>20000</integer>
                    <key>salt</key>
                    <string>
                    Bh6O61fYBWWrpfMRjzBctcj5O6P4D4AmYYhV2HEUNdA=
                    </string>
                </dict>
            </dict>
        </dict>
        <key>DontAutoPopulatePrimaryAccountInfo</key>
        <false/>
        <key>LockPrimaryAccountInfo</key>
        <false/>
        <key>PrimaryAccountFullName</key>
        <string>Anup Gupta</string>
        <key>PrimaryAccountUserName</key>
        <string>Anup</string>
        <key>RequestType</key>
        <string>AccountConfiguration</string>
        <key>SetPrimarySetupAccountAsRegularUser</key>
        <true/>
        <key>SkipPrimarySetupAccountCreation</key>
        <true/>
    </dict>
    <key>CommandUUID</key>
    <string>0001_AccountConfiguration</string>
</dict>
</plist>

enter image description here

is there I am doing Something wrong?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top