Login Window

casafrancisco
New Contributor III

Hi everyone,

I am having trouble finding a way to do this via script, I would also like to stay away from Config Profile if I could.

Is there a defaults command that can change the Login Window setting to be List of Users rather than Name and Password?

1 ACCEPTED SOLUTION

seraphina
Contributor II

Replace # with a 1 or 0 depending on what behavior you would like

#!/bin/bash
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME #

View solution in original post

8 REPLIES 8

seraphina
Contributor II

Replace # with a 1 or 0 depending on what behavior you would like

#!/bin/bash
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME #

mm2270
Legendary Contributor III

A defaults command will work, but why not use a Config Profile for this? It's part of the standard Login Window payload options.

3db3c4ca92b14619823671b9b8a4161c

Edit: Sorry, I didn't even see you specifically said you wanted to stay away from a profile. I'm curious on why though.

seraphina
Contributor II

@mm2270 My guess would be that, if the setting is applied with the config profile, a user cannot go back and modify it later.

mm2270
Legendary Contributor III

That is true, but most times that's a setting that admins don't want end users changing, which is why a config profile is usually ideal for it. Username/password is a bit more secure than just List of users since half the secret to logging in is already showing in the latter configuration.

casafrancisco
New Contributor III

I don't prefer Config Profiles so there aren't too many in the Profiles list, and because i dont want to set a bunch of settings in one CP that could conflict with another. I'd rather go with more granular controls than having other misc settings configured in a CP.

AndyE
New Contributor

Some other great things you can do at the log in window:
https://twocanoes.com/12-customizations-for-the-mojave-macos-login-window-that-you-didnt-know-about/

gachowski
Valued Contributor II

@casafrancisco

Two things..

Vote this up...

https://www.jamf.com/jamf-nation/feature-requests/6281/break-up-multi-mdm-payload-gui-payloads

Please!!

And

You can create profiles that only have one key, I think this is one of the common tools

https://github.com/ProfileCreator/ProfileCreator

I usually start with a Jamf or macOS server profile, unsign it edit it and then resign it with Apple Configurator.

C

casafrancisco
New Contributor III

@gachowski i have upvoted that request already

Thanks i'll check out that ProfileCreator sometime!