
- How to edit your hosts file mac os x 10.7 update#
- How to edit your hosts file mac os x 10.7 password#
Path: /private/var/db/swupd/html/content/catalogs/index.sucatalog You also need to enable the Web Service and add the following Web Aliases on port 80 in Server Admin, for 10.4, 10.5, and 10.6 clients to get the updates: Pattern: index.sucatalog Note - 10.5 SU Repository is in /usr/share/swupd, 10.6 SU Repository is moved to /private/var/db/swupd. One thing to point out - you will need a Snow Leopard server for it to work with Snow Leopard clients - otherwise it breaks. On the Mac OS X Server itself, edit the /etc/hosts file and add the actual IP address for so that it doesn't resolve back to itself. I use it at our office, and every computer on our LAN will automatically pull the updates from the local repository at high speed without any configuration.Ĭreate the DNS zone on your internal DNS server, and have it resolve via an A record to your Mac OS X Server. The DNS trick that Chealion points out is fantastic.
How to edit your hosts file mac os x 10.7 update#
If this is working correctly when running Software Update (GUI) you should see the server address appear in parenthesis in the title of the window. Once users/computers have refreshed their MCX settings (usually the next login or restart) the new settings will take over.

or if using 10.6: - see above from the defaults section)

How to edit your hosts file mac os x 10.7 password#
Once the tool opens, select the user you want to reset the password for and enter a new password (or nothing to blank the password).The simplest method is to run a defaults command on the client Macs (easily pushed via Apple Remote Desktop): defaults write CatalogURL 'HTTP_URL_FOR_CATALOG'įor a user. When the terminal opens, type the commandĪnd the password reset utility will automatically start. Start by selecting your language and then go to Utilities -> Terminal in the menu. Your computer should automatically boot into the recovery partition. When the gray Apple logo shows up on the screen you can release the keys.

To reset a user password on a Mac with Lion you first need to restart the computer and hold the Command+R (⌘+R) keys. This easy-to-use recovery partition also opens up hackers to break into your Mac without needing any additional tools. Here’s how you can use that partition to reset a user password and break into a Mac.Īll laptops that come with OS X 10.7 “Lion” or laptops that were upgraded to Lion have a restore partition for easy OS recovery. It’s trivial to break into a Mac using an OS X boot disk, but new Macs use a restore partition for OS installations.
