Macos
Authentication Disabled
This may be due to a corrupt secure token.
To disable, re-enable the tokens and updated the / with diskutil, run the following commands.
Notice the - will tell the command to prompt for the passwords. Replacing it with the actual passwords may need
some escape char (for example for &).
sysadminctl -secureTokenStatus <username>
sysadminctl -secureTokenOff <username> -password - -adminUser <adminusername> -adminPassword -
sysadminctl -secureTokenOn <username> -password - -adminUser <adminusername> -adminPassword -
diskutil apfs UpdatePreboot /