r/macsysadmin • u/Legitimate-Jello2859 • 1d ago
macOS Updates Help!!!
Apple Silicon fleet, never ADE-enrolled. Our in-house updater script does: elevate console user to admin via dseditgroup, then run startosinstall --user <admin> --stdinpass with a Secure-Token admin password piped in. Worked silently for Sequoia → Tahoe (25 → 26). Fails on Tahoe → Golden Gate (26 → 27) with ‘could not get authorization’ and falls back to GUI prompt. Did Apple change something in macOS 26, or am I missing a flag?
0
Upvotes
14
u/eaglebtc Corporate 1d ago
This is not a good post title.
Did you also add
--agreetolicenseand--nointeraction?12
u/Darkomen78 Consultation 1d ago
You missing to use an MDM to manage a Apple fleet.
4
u/eaglebtc Corporate 1d ago
Hold the phone ...
Whose admin password are you supplying for this script: the currently logged in user, or a system / IT-specific user like a service account?
And does that service account also have a valid secure token?
11
u/captnconnman Corporate 1d ago
This…seems like a horrible way to keep a fleet up-to-date. Do you have an MDM product at your company? Does the product support Macs? Do you have an Apple Business Manager tenant (and if you don’t, how is VPP even working)?
3
u/Studiolx-au 1d ago
Apple have been very clear about changes to what you can script and what parts of the os can be called upon via cli. Each major release removes legacy things that have been moved to modern ddm.
2
u/oneplane 1d ago
Nope
1
u/damienbarrett Corporate 1d ago
Wait, what’s the end goal here? To silently upgrade/update the OS via a script?
Have you looked at erase-install from Graham Pugh?