Hi, I have quite a few macs with admin accounts on 10.13.6 that dont have a secure token (viewed by running sysadminctl command).
I want to add the secure token silently without involving the user via ssh or someother tool, as i have seen the users of the machines have this secure token.
I have tried sysadminctl -secureTokenOn "admin account" -password "password" but get
Operation is not permitted without secure token unlock.
i know that
sysadminctl -adminUser user -adminPassword “password” -secureTokenOn "admin account" -password “password”
Will probably do it but i cant go asking for the user password
Does anyone know of another way?
