Posted on 01-07-2021 12:23 AM
sudo softwareupdate -i -r -R --force
This works fine in scripts up until Catalina but the Software Update Tool has changed behaviour in Big Sur, requiring password(after searching for updates) even when run as root.
Is there a way around this or do we need to find another way of installing security upgrades?
Posted on 01-07-2021 12:54 AM
I guess I can answer my own question with this blog post:
It's broke. No way to fix it. Working as intended.
Posted on 01-07-2021 05:04 AM
I'm trying to update Mac OS to 11.1 using the same command line. So there is no way for IT Admin to control the update or work around?
Posted on 01-07-2021 09:23 AM
I have 2 policies
one to upload the "Install macOS Big Sur.app" to the Applications folder
the other to run the "/Applications/Install macOS Big Sur.app/Contents/Resources/startosinstall --agreetolicense --forcequitapps --nointeraction && sleep 10 && osascript -e 'tell application "Self Service" to quit'" in the Files and Processes > Execute Command.
Posted on 11-01-2021 11:28 AM
Downloading the macOS every month is just not realistic, a networking nightmare, and not really a solution.
Posted on 01-07-2021 12:31 PM
Updating to Big Sur is fine for me. Updating to 11.1 from 11.0.1 is giving headache since Apple no longer release pkg file to download after Big Sur. Only way I can think of to update is sudo softwareupdate -i -r -R --force but it does not seem like its working properly without a user login.