Add Text To Your Login Screen 8
Tip
Hey
Today’s post is all about adding a welcome message to your login screen. Most of the time it displays a list of users and options to restart, shut down or log into your Mac. This string of text can be very useful if you have a fear of your Mac getting stolen or mixed up with other Mac’s. The string is short but can be used to display a useful bit of information. This post took me about 15 minutes to research and put together, and about an hour to try and grab a screen shot of the screen in action (I never found a working solution).
To do this little trick fire up Terminal. This is located in Applications > Utilities. Within it copy and paste the following:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Your Message Here"
If you want to change the message alter it in TextEdit (quickest method) and then paste it into Terminal. You will be asked to supply your admin password. Once as the command runs the message will be changed. Use the quick log out option to see your handy work. The switch will probably take a long time. I thought my Mac had crashed but when the screen eventually loads you will see above the list of user name the piece of text you have just added.
Useful information can include your name, address of a piece of unique information such as your address, email, phone etc, something that can only be linked to you. This means that if you Mac get stolen and the user name deleted it will be easily identifiable to you. Unless your thief reads this blog and has read this tip, it will be very hard for them to get rid of this bit of information. If you know your Mac wont get stolen add something funny or humorous. The text can only be one line. I’m not sure of the length however I would keep it short.
If you want to change it back and remove the text simply copy and paste the following into Terminal:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText ""
The text will be gone.
If you want to learn more about Terminal command, either search this site or read some of the cool Terminal books on the market. I recommend MAC OS X UNIX Toolbox or Mac Command Line: Unix Under the Hood. There is plenty of resources out there.
Where To Next?
8 Responses to “Add Text To Your Login Screen”
-
1
Good tip. I’ll have a look at it.
For now, I have my log in name as my e-mail address. If someone recovers my lost/stolen MacBook, and if they boot it, they’ll see my e-mail address.
Then, if they try to log in unsuccessfully a few times, the password hint asks:
Please e-mail me or call me at xxx-xxx-xxxx
The log in name and password hint may be easily customized at the Accounts preference pane.
Comment By DCJ001 on January 29th, at 12:15 am
-
2
Loved this tip. Can’t say how much I wanted to edit the text at my login screen. I think I saw user text on Mac Server. I reblogged this on vniks.onmason.com
Thanks a lot
VNiks
Comment By VNiks on January 30th, at 4:19 pm
-
3
This tip appears to be simple. I have copied and pasted the command into terminal, using my message and including the quotation marks:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText “My Message”
and terminal responds by saying:
Could not parse: My message. Try single-quoting it.
Any recommendations? Thanks.
Comment By DCJ001 on January 31st, at 3:46 am
-
4
isnt there an app for that i used one that goes in the system prefs and i can change the login background and txt which i have done and still use. its easier then using terminal.
Comment By Dave on February 2nd, at 7:31 am
-
5
Dave.
I’m glad that you mentioned the system preference for this. You reminded me of the “Secrets” preference pane which I have and have used to make a few customizations. The options for changing the login background image and the text is included in Secrets.
Changing the login background image, without Secrets, is easy, if you know where it is located. And changing the login text is super easy with Secrets.
For more information about Secrets, A database of hidden settings for Mac OS X, go to:
Comment By DCJ001 on February 3rd, at 6:22 pm
-
6
You can put in a carriage return if you wish by typing “Shift & Return” when entering the command in terminal.
Comment By StephenC on February 4th, at 10:12 pm
-
7
@ DCJ001… Cocktail does the option of adding a text to the log in screen.
Comment By JUKE179r on February 5th, at 8:42 pm
-
8
This is awesome, and I think DCJ001′s suggestion is very useful =)
Comment By sasa on August 31st, at 5:44 am