Add Text to OS X Login Window
by Robert Hodgen in Hacks, How to, Tips, Tricks on June 20th, 2008. 6 Comments.

Having the ability to change the text on Mac OS X’s Login window is not an explicit feature of Apple’s operating system, it is however possible. Some of the reasons you may want to add text to your Mac’s login window are: security, lost/found and identification. Adding text to the login window is easy, simply add a key and value to a .plist file and logout. 

First you’ll want to navigate in Finder to the following location: /Library/Preferences/ (the Library folder in your hard drive’s root, not your home folder).

Click to Enlarge

Once there, find and open the file com.apple.loginwindow.plist in a text editor like TextWrangler.

Because this file, com.apple.loginwindow.plist is outside of your home folder and effects all users on your system, you must have administrator access on the computer you wish to modify.

Make a backup copy of your original com.apple.loginwindow.plist incase something goes wrong in any of the following steps.

Click to Enlarge

Insert into com.apple.loginwindow.plist somewhere after the <dict> and before the </dict> the italic text exactly how it is shown here: <key>LoginwindowText</key> Once that has been added, directly below it on a new line enter <string>Your Custom Text Here</string> Replace the Your Custom Text Here (red) with your message. Image: The text you will be adding is highlighted in yellow (the end of the line was omitted).

Save the file and logout to test your new login window text. TextWrangler or any other text editing program will ask for an administrator password when you attempt to save this file.

To remove the text you just added, simply remove the two lines of text you added.

PermalinkTags: , , , , , , .
6 Comments to “Add Text to OS X Login Window”
read the comments below.
Charlie
posted the following on June 20th, 2008 at 1:20 pm.

This use to work on Panther and earlier versions of the OS. However, since Tiger most of the plist files have been converted to binary. Thus, you need to use the Property List Editor from the appropriate SDK to edit the file. There are probably other third party programs out there to accomplish the task.

MacBook 411 / Customize your MacBook’s Login Window w/ Text
posted the following on June 20th, 2008 at 3:48 pm.

[...] For MacBook owners, having the ability to add custom text to your Mac’s Login Window is invaluable if your MacBook is lost, stolen or just for identification purposes. I wrote an article on OS X 411 on how to Add Text to the OS X Login Window.  [...]

Robert Hodgen
posted the following on June 20th, 2008 at 5:23 pm.

In Leopard you can simply edit the file. I’ve also done this in Tiger, I’m however unsure about previous versions of OS X prior to 10.4.

Add Text to OS X Login Window
posted the following on June 20th, 2008 at 6:39 pm.

[...] Add Text to OS X Login Window Having the ability to change the text on Mac OS X’s Login window is not an explicit feature of Apple’s operating system, it is however possible. Some of the reasons you may want to add text to your Mac’s login window are: security, … [...]

Charlie
posted the following on June 20th, 2008 at 7:15 pm.

Robert,

I learn something every day! What I said about plist files being binary is true. Check out if you like. I even used both TextEdit and Text Wrangler to verify my statements above.

But what you presented is also true! How can that be? Doh, I was not using the latest 2.3 version of Text Wrangler. Apparently Bare Bones has empowered it to convert the binaries back into xml to facilitate the kind of edit you were describing. You will notice that Leopard’s QuickLook thankfully does the binary to xml conversion also. Unfortunately, you can view, but not touch (edit) in QuickLook and TextEdit does not make the conversion.

Allkofox
posted the following on October 25th, 2008 at 1:35 pm.

Hi,
Just wanted to add that this also works with Mac Pilot.
It’s a easier than editing the plist, but you have to own a copy of Mac Pilot and its not free. :-(

Leave a Comment
but first, you must fill out the form below.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>