10.15 Catalina security authorizationdb doesn't work as advertised

mfcfadmin
Contributor II
/usr/bin/security authorizationdb read system.login.screensaver >/tmp/originalss.$$ /usr/bin/sed 's/use-login-window-ui/authenticate-session-owner-or-admin/' /tmp/originalss.$$ >/tmp/newss.$$ /usr/bin/security authorizationdb write system.login.screensaver </tmp/newss.$$

The contents claim that this is still the way to do it but locking the screen never gives a dialog just black with cursor.

The owner or any administrator can unlock the screensaver, set rule to "authenticate-session-owner-or-admin" to enable SecurityAgent.
4 REPLIES 4

mfcfadmin
Contributor II

Still broken under 10.15.1

mfcfadmin
Contributor II

Still broken under 10.15.2

nstrauss
Contributor II

Does this work? Not sure why you're using sed and appending that way.

security authorizationdb write system.login.screensaver authenticate-session-owner-or-admin

Reference here - https://dssw.co.uk/reference/authorization-rights/system-login-screensaver.html

mfcfadmin
Contributor II

Not sure what my original source of the code was but the result is the same.
It might actually may be fixed in 10.15.2. Small sample though.