Computers, Laptops & Tablets Apple Add a Login Message to Your Mac Using Terminal or System Preferences Add a message or greeting to your Mac's login window By Tom Nelson Writer Tom Nelson is an engineer, programmer, network manager, and computer network and systems designer who has written for Other World Computing,and others. our editorial process Facebook Twitter Tom Nelson Updated February 01, 2020 Mint Images / Getty Images Apple Macs iPad Tweet Share Email Mac users can alter the default Mac login window to include a message or greeting. The message can be for just about any purpose. It can be a simple greeting, such as "Welcome back, buddy" or a silly one, such as "While you were away, I cleaned up all those messy files on your drive. You're welcome." You have three ways to set the login window message: using OS X Server, with Terminal, or by using the Security & Privacy system preference pane. Login Message with macOS Server With macOS Server, you can create a single message and then send it to all of the connected computers. Use the Workgroup Manager tool to set the login message. Once set, the message is propagated to all of the Macs that connect to the server. How to Set the Login Message for Individual Macs Using Terminal You don't need Server to customize the login message. Two other methods are available. The first uses the Terminal application. Launch Terminal, located in /Applications/Utilities. Type the following command: sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "[Your login window message text goes here]" Exclamation points are not allowed. Terminal may also reject other special characters. If you enter an invalid character, Terminal will return an error message and abort the action of writing to the file. It won't make any changes on an invalid command. When you're ready, press Return. Enter your administrative password if Terminal prompts you to do so. Close Terminal and go to your Lock Screen by pressing Control+Command+Q to see how your message looks. How to Reset the Login Window Message Back to Its Default To remove the login message text and revert back to the default value of no message being displayed, perform the following steps: Launch Terminal, if it isn't already open. At the command prompt, enter: sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "" This command replaces the login window text with a pair of empty quotation marks. Press Return. How to Set the Login Message for Individual Macs Using the Security & Privacy Preference Pane Using a system preference pane may be the easiest method for setting up a login message. The advantage is that you don’t need to work with Terminal and text commands. Launch System Preferences by clicking its icon in the Dock, or selecting System Preferences from the Apple menu. Select the Security & Privacy preference pane. Click the General tab. Click the lock icon, located in the bottom left corner of the Security & Privacy window. Enter an administrator password, and then click the Unlock button. Place a checkmark in the box labeled Show a message when the screen is locked. Click the Set Lock Message button. Enter the message you want into the window that appears, and then click OK. How to Reset the Login Message From the Security & Privacy Preference Pane If you no longer wish to have a login message be displayed, return to the General tab of your Mac's Security & Privacy preferences and remove the check from the box next to "Show a message when the screen is locked."