OS X 411: How to: Add Text to OS X Login Window - OS X 411

Jump to content

How to: Add Text to OS X Login Window Show users a message when they log in.

#1 User is offline   Robert Hodgen 

  • Administrator
  • View blog
  • Group: Administrators
  • Posts: 159
  • Joined: 18-February 10
  • Twitter:@roberthodgen
  • Location:Florida

Posted 19 February 2010 - 01:55 PM

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 and I'll show you two ways of doing it.

Method One - the text editor way

This method requires a program like TextWrangler that can edit and save protected system plist files, I've tested it with TextWrangler so I know it works in addition to being my favorite.

Step 1: Open the file com.apple.loginwindow.plist in the folder /Library/Preferences located on the root of your boot drive. The full file path is /Library/Preferences/com.apple.loginwindow.plist

Step 2: Add something like the text below after the <dict>:

<key>LoginwindowText</key>
<string>Text to be shown at user log in.</string>

Step 3: Log out and enjoy your new login text!


Method Two - the terminal way

This method uses the terminal so there is no need to locate the file above or add the XML markup. Here we can also verify if we were successful.

Step 1: Open Terminal.app in the Utilities folder in Applications.

Step 2: Type the following line into the terminal, but change the text within the "quotes", then press return.

defaults write com.apple.loginwindow LoginwindowText "Text to be sown at user log in."

Step 3: Log out and enjoy your new login text!


Optional: Verify if you were successful.

Open Terminal.app and type the following in then press return. If you were successful you should now see the text you set.

defaults read com.apple.loginwindow LoginwindowText

Administrator and creator of OS X 411 and co-founder of The 411 Forums.
0

#2 User is offline   Robert Hodgen 

  • Administrator
  • View blog
  • Group: Administrators
  • Posts: 159
  • Joined: 18-February 10
  • Twitter:@roberthodgen
  • Location:Florida

Posted 28 February 2010 - 05:40 PM

I'll go ahead and give an example of how I use this on my MacBook Pro.

I mostly use this in case my laptop is lost or stolen, and I use the following (of course with a real phone number):

This laptop is the property of Robert Hodgen.
If found call +1 555-555-5555 for reward.

Administrator and creator of OS X 411 and co-founder of The 411 Forums.
0

Share this topic:




Fast Reply

  

Recent blog entries on this topic

How to: Add Text to OS X Login Window

By Robert Hodgen  in OS X 411 Blog, on 19 February 2010 - 01:57 PM
So the first thing I noticed when I downloaded iTunes 10 was the new icon on my Dock. Having become accustomed to the old iTunes icon it's odd seeing something else in its place. Comment and vote to share your thoughts on the new icon.

Source: iTunes 10 logo, like it? hate it? not sure?

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users