How can I add a custom message in the macOS login screen?

Solution 1:

This can be done without 3rd party app. Simply open System Preferences.app -> Security & Privacy -> Show message when the screen is locked. Here are the steps:

  1. Open "System Preferences" (located in you applications folder)
  2. Select "Security & Privacy"
  3. Unlock the padlock
  4. Set the lock message

enter image description here enter image description here

Solution 2:

Yes, you can do this by using Terminal. More specifically:

  1. Open the Terminal app (by default this is located in the Utilities folder within your Applications folder)
  2. Now copy the following command and paste it into your Terminal window:

    sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "This Mac was kindly donated by X."

  3. Now press the delete key a few times to remove the X

  4. Type in the rest of your custom message. Make sure you close it off with the second quotation mark at the end.
  5. Press the enter key
  6. You’ll be prompted for your password. Type it in and press the enter key again (Note: You will not see the cursor move or the password on the screen)

Now when you’re back on the login screen you will see your custom message displayed below your list of users.

Solution 3:

In the Terminal:

sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Your Message Here"