Remove/Reset Login screen message
Recently, I wanted to put a message on my Login (not Lock Screen) screen and I did it with the following command:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Message"
It took some time to appear for some reason but now I've been trying to remove that message for a while using the same command but leaving the "Message"
part like ""
, as you can see in the following example:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText ""
Yet, it does not disappear. Still there. How can I force my Mac to remove it?
You can reset a preference using defaults delete
:
sudo defaults delete /Library/Preferences/com.apple.loginwindow LoginwindowText