Skip to main content
Question

Disable pre-populating username in authentication dialog box

  • February 7, 2020
  • 3 replies
  • 27 views

Forum|alt.badge.img+3

Can anyone remember the Default to stop MacOS from pre-populating the username whenever an authentication dialog box is presented (ie, i want it to be blank)? I've done it before but can't for the life of me remember the Default or plist where this is located :/

3 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • February 7, 2020

I didn't think something like that was even possible. The only time I've ever seen an auth dialog be blank for the username was when the account you're running in is non-admin. If the account has admin rights the OS automatically puts in the username and requests the password. Are you sure you've been able to affect this behavior in the past with a defaults command?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • February 10, 2020

Yeah definitely done it before, and fairly sure it was a defaults command. I certainly scripted it, put it that way.


Forum|alt.badge.img+11
  • Contributor
  • February 10, 2020

If the Security Server can't find the cached creds, it will populate a dialog box, but by default on all seats with admin rights the Security Server will look for cached creds(including globally or via Smart Card)... @mm2270 is correct about if the account is a non-admin, the Security Server can't obtain the cached creds from that account, which would display a empty dialog box... But maybe THIS will be able to help with what you're trying to accomplish