Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fed-Talk] RE: 10.4, CAC, and DoD Warning



In Tiger many of the plist files were changed to a binary plist format. Possibly more efficient, but sort of a pain for those of us that have to periodically edit these files.

You can convert these binary plist files back into XML format using "plutil" from Terminal. For example:

plutil -convert xml1 /path/to/file.plist

will convert a binary plist into an XML plist which can then be edited in a text editor.



plutil -convert binary1 /path/to/file.plist

will convert the XML version back to binary.

Note that both of the above commands will convert the file _in_place_. If you want to write the converted file out to a different file you can use the "-o" option with plutil. See "man plutil" for more details.

Steve

On May 12, 2006, at 7:02 AM, Monahan, Jim (Contractor) wrote:

 
Property List Editor?
Where do I find that?

I have found in 10.3.9, loginwindow.plist can be opened with text edit.

But in 10.4, loginwindow.plist is apparently a diffent format, as when opened with text editor, it contains garbage characters, no formatting, etc.

Thanks,

Jim
 


-----Original Message-----
From: fed-talk-bounces+monahanj=email@hidden [mailto:fed-talk-bounces+monahanj=email@hidden] On Behalf Of Sullivan, Matthew Mr RDECOM CERDEC NVESD

Sent: Wednesday, May 10, 2006 3:17 PM
To: 'email@hidden'
Subject: [Fed-Talk] RE: 10.4, CAC, and DoD Warning

Jim,

Logon Warning Banner Implementation System supplied methods to display logon banners vary. For Mac OS X this will be implemented in two ways. Using both of these ways will cover the warning banner for both the Aqua interface and the terminal login.

Add a line to the .plist of the login window to show the Warning Banner text on the same screen where the user enters their username and password.

 - By Using the Property List Editor
 - Open the Property List Editor.
 - Open the /Library/Prefernces/com.apple.loginwindow.plist file.
 - Expand Root. - Highlight Root and Select the New Child Button.
 - Add LoginwindowText as its name.
 - Place the Warning Banner Text in the Value Field.
 - Save the plist file.

 - Editing the motd file to show the Warning Banner after a terminal session is invoked. The system displays the contents of this file via the global /etc/.login and the /etc/profile files, depending on which shell is started.

 - Edit, or create, /etc/motd.
 - Insert the banner text.
 - Write /etc/motd.
 - Chmod 444 /etc/motd.
 - Chown root /etc/motd.
 - Chgrp sys (or bin) /etc/motd.

Matthew
Web Developer

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Fed-talk mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


--


Steve Herman

Macintosh Software Development and Support

Lockheed Martin Information Technology

102 Research Blvd, Building 2

Madison, AL 35758             (voice) 256 319-2869

mailto:email@hidden         (fax) 256 319-2984


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Fed-talk mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/fed-talk/email@hidden

This email sent to email@hidden

References: 
 >RE: [Fed-Talk] RE: 10.4, CAC, and DoD Warning (From: "Monahan, Jim (Contractor)" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.