OS X Lion: Adding Custom Messages to the Login Window

| TMO Quick Tip

2012. The last year before the ancient Mayans rise from their graves and kill us all. I’m paraphrasing here, but I’m pretty sure that’s what I read was going to happen. While we’ve still got time to live, though, we should probably focus on learning things about Lion and how to make changes to its login window for security and fun. It won’t save us from the blood-crazy Mayans, but it’ll help us make our Macs look cool during the end of the world. Awesome! 

So first, figure out if you have automatic login on. If you do, you’ll never see your login screen at all, so go to System Preferences > Users & Groups to check. Choose Login Options from there, and if “Automatic login” is on, click on the padlock in the lower-left corner of the window to unlock the pane, then toggle the option off. You can now follow along with this tip, and there’s a bonus—your data is now a bit safer from thieves if your Mac gets stolen. This’ll mean that every time you restart your Mac, you’ll need to enter your password, but that small layer of security is worth it, right?

After that, the first neat thing you can do is in System Preferences > Security & Privacy under the “General” tab, where you’ll need to unlock things with the padlock as before if you want to make changes. When you then turn “Show a message when the screen is locked” on and type something in the box below that, your message will show up on the login window. It’ll also appear if your Mac requires a password to unlock the screen saver or wake it from sleep. 

Change this…

 

…for your note to show up here.

 

As you can see, my message gives information about how to contact me if my machine is found. You, of course, can choose something different—a warning about how Find My Mac works, perhaps, or some other vague threat. Whatever floats your proverbial boat.

The other cool thing you can do in the same vein is to add an agreement that a user would have to accept before logging in. Obviously this would be most useful if you were managing a large number of machines, but heck, making your family members laugh is just as important.

Here’s how you go about it. First, create a file in one of three formats: .rtfd, .rtf, or .txt (TextEdit is great for this). Add whatever content you want, and then save the file as “PolicyBanner” in the Library > Security folder.

You’ll have to type in your password before Mac OS X will let you put anything in there, but after you do that, your task is finished. Of course, you’ll want to log out or restart to see your handiwork.

To undo your changes, just delete the file you put in your Library > Security folder, and things will go back to normal. And now your 2012 will be filled with mirth as your spouse has to accept your crazy agreements before logging on. Or, conversely, your 2012 could be filled with horror and arguments if you step over the line from “funny” to “offensive.” That’s a line I may know a thing or two about. 

Comments

Lee Dronick

Thanks a lot Melissa! I called REDACTED so that I could talk to you, but I got a direct marketing service. Now I am being hounded by telemarketers.

Seriously, good tip.

Melissa Holt

Lee, you never fail to make me chuckle. smile

David Brown

Thank you so much. I changed my lock screen message years ago when it required a Terminal command line and forgot how to change it back. For years I have had an outdated email address as a part of my contact info. Nice to see that feature made it to the System Prefs. Now I have accurate info where it counts. Cheers!

Melissa Holt

You’re welcome, David! I’m happy to have helped you.

Log-in to comment