Thursday, June 24, 2010

Mac Fonts

It is a good idea to remove all the fonts from ~/Library/Fonts and /Library/Fonts but leave /System/Library/Fonts alone.

Create a "My Fonts" folder, dump your fonts in there and activate when necessary.

Here are two good overviews of how the OSes handle fonts:

Leopard:  http://www.prepressure.com/fonts/basics/leopard_fonts

Snow Leopard:  http://www.prepressure.com/fonts/basics/snow-leopard-fonts

Wednesday, June 9, 2010

Mac users can not log into a bound machine continued. Network home folder problem

Bound 10.6 machines require that all users attempting to log in with AD credentials have either a correct path to an accessible home folder or have “force local home folder” ticked in Directory Utility.

Here are some things to try:

Look at the user’s account and see if they have home folders listed.  If they do, make sure they are valid and remove them if they are not.  You might simply want to remove them full stop- this has resolved problems like this in the past.  Something else to keep in mind: Snow Leopard has horrible problems connecting to SMB shares so if a user has a SMB home folder defined in their AD account it could simply failing to connect and halting the login process.

Use the work-around found in this TS article from Apple: http://support.apple.com/kb/TS3346

To force a local home folder do this:

Directory Utility > Active Directory > Show Advanced Options

Place a checkmark in "Force local home on startup disk" and uncheck "use UNC path from AD" to force a local home and ignore what's in the directory.



Friday, May 28, 2010

Enable Screen Saver Locking From the Command Line: Snow Leopard

The settings are now stored in ~/Library/Preferences/com.apple.screensaver.plist:

$ defaults read com.apple.screensaver
{
    askForPassword = 1;
    askForPasswordDelay = 5;
}
$

To turn on the screen saver lock:

defaults write com.apple.screensaver askForPassword -int 1


To turn off the screen saver lock:

defaults write com.apple.screensaver askForPassword -int 0 

Thursday, May 27, 2010

Turn on Mac screen saver password from command line (not for Snow Leopard)

Turn on the screen saver password:

defaults -currentHost write com.apple.screensaver askForPassword -int 1

Turn off Screen saver password:

defaults -currentHost write com.apple.screensaver askForPassword -int 0

Again, this doesn't work for Snow Leopard.