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?