Skip to main content
Question

10.15 Catalina security authorizationdb doesn't work as advertised

  • October 11, 2019
  • 4 replies
  • 20 views

Forum|alt.badge.img+9
/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

Forum|alt.badge.img+9
  • Author
  • Contributor
  • October 30, 2019

Still broken under 10.15.1


Forum|alt.badge.img+9
  • Author
  • Contributor
  • December 11, 2019

Still broken under 10.15.2


Forum|alt.badge.img+12
  • Valued Contributor
  • December 12, 2019

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


Forum|alt.badge.img+9
  • Author
  • Contributor
  • December 12, 2019

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.