
How do I disable guest access on my Mac OS X 10.4 system?Dave, I saw your older article on how to disable guest access to your computer (see how to disable guest access on your Mac for wireless users) but it no longer works as the plutil file appears to be in a different format that won't let you edit it. Help! You're absolutely right: I was just trying to get this to work with my brand new MacBook Pro running 10.4.9, and quickly realized that vi wasn't able to handle the new binary plist file format. Digging around (with the super-useful "man -k plist" in the Terminal) yielded the solution: you need to use the plutil command to convert the specific "plist" file back to the older xml format, edit it as needed with "vi", then convert it back to the newer binary format. Here's how I did that... First, I logged in as the administrator (you can also just type su) and moved to the correct directory: $ cd /Library/Preferences
$ cp com.apple.AppleFileServer.plist com.apple.AppleFileServer.plist.bkup This gave me an emergency backup of the file in case I did something wrong. To convert the plist flie into the older, editable format, I typed in: $ plutil -convert xml1 com.apple.AppleFileServer.plist
Now it was ready for editing and was in a format that "vi" could handle, so it was easy to search for "guest" then change the tag immediately following from "<true/>"> to "<false/>". Save the changes and it's time to convert the file's format back to the newer plist form: $ plutil -convert binary1 com.apple.AppleFileServer.plist
That's all there is to it. You should now have the Guest login option greyed out and unavailable for people connecting to your computer via Apple's Mac file server capabilities.
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
Mac OS X Help
(Article 7255)
Tagged: guest login, mac os x, mac security, plist Previous: How do I move the harddrive icon onto my Dock? Next: Why did I get a MySpace "Request to Approve Comment"? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.
Rather amazingly, there are no comments on this article yet.
I have a lot to say, but ...
I do have a comment, now that you mention it!
|
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|