1/12/2024 0 Comments For mac instal Big SurSysadminctl -secureTokenOn "$user" -password "$pass" -adminUser "$currentUser" -adminPassword "" #Add Secure token to our desktop admin account (I know dumb) #Just snippet of the code, without checks and logging. These mac mini's also don't have file-vault enabled as they are considered Non-Human macs.Īs long as the mac is enrolled via DEP(not self enrolled via the site) you won't see any prompts for privacy, dark/light mode, stuff. Here's the syntax that has worked via a script within a policy for mac mini's that have a blank password (they are info displays(that needed auto login(setup before my time))). We tried to leave it off, but due to hardware stock being low, we had not choice. cloneuser, Copy account settings for the owner provided with -user when installing to a new volume.Īlso dealing with upgrade issues with Big Sur. reducedsecurity, configure target volume's security policy as Reduced Security (will prompt for authorization after reboot). stdinpass, collect a password from stdin without interaction. passprompt, collect a password for authorization with an interactive prompt. user, an admin user to authorize installation. Startosinstall -usage in Terminal shows only this: New flags like -stdinpass, -cloneuser or -reducedsecurity are available on M1 Macs. I hope someone with access to developer documentation can figure out how to use properly the new flags in startosinstall command. Startosinstall: An extraneous argument was specified with option ‘stdinpass’ “/Applications/Install macOS Big Sur.app/Contents/Resources/startosinstall” -user admin -stdinpass “adminpass” -agreetolicense -nointeraction -forcequitapps -eraseinstall -newvolumename “Macintosh HD”. ![]() ![]() When I enter the password right after -stdinpass flag I’ve got yet another error: If I only adding -stdinpass flag without piping the password - the policy hangs at “Running”. Provide a password with -stdinpass or -passprompt.Īttempt to pipe admin password into startosintall command fails with another error:Įcho “adminpass” | “/Applications/Install macOS Big Sur.app/Contents/Resources/startosinstall” -user admin -stdinpass -agreetolicense -nointeraction -forcequitapps -eraseinstall -newvolumename “Macintosh HD”…Įrror: Could not find provided owner on this system… “/Applications/Install macOS Big Sur.app/Contents/Resources/startosinstall” -agreetolicense -nointeraction -forcequitapps -eraseinstall -newvolumename “Macintosh HD”.Įrror: failed to authorize for installation. The policy runs fine on Intel Macs, bit fails on M1 Macs. Apparently on Apple silicon the startosinstall requires authentication by the user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |