Wednesday, May 23, 2007

Sending email attachments through the terminal

uuencode FILENAME FILENAME | mail -s SUBJECT RECIPIENT

Hint found here:

http://cbutera.wordpress.com/tag/apple/

Monday, May 21, 2007

kerberos troubles

Are you having troubles getting kerberos to work on Mac OS X Server?

Well here's a hint:

Open Workgroup Manager on the designated Kerberos server and delete everything you may find in the path:

/Config/KerberosKDC

You may have to enable 'Show "All Records" tab and inspector' in the preferences if WGM in order to do so.

I found that the server I work with hat rubbish in there which prevented it from working.

Thursday, April 26, 2007

Sharing files on OS X with ACL

A problem with the /Users/Shared folder in OS X is that it is only shared read-only. You can add write access to all items in the shared folder, but when a new user adds files, it will be read only by the others. With Tiger and ACL you can now setup a both read and write shared folder, which inherits write access to all files automaticly. Here is how;

First you need to enable ACL on your root file system:

sudo /usr/sbin/fsaclctl -p / -e

Then enable inheritable write access to the Shared folder:

sudo chmod -R +a
"admin allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Users/Shared

Monday, April 16, 2007

"Well Known" TCP and UDP Ports Used By Apple Software Products

"Well Known" TCP and UDP Ports Used By Apple Software Products

Managed Client: How to prevent profanity from appearing in Dictionary

This is an interesting subject.
I guess this could be helpful to manage other preferences from the workgroup manager as well:
http://docs.info.apple.com/article.html?artnum=305348

Actually this tip should help manage any preferences that use the plist format.
Now this is really interesting.

I wonder if I can turn off the software update function of iTunes...

Tuesday, April 10, 2007

Screensaver over LoginWindow

Unfortunately Apple does not supply a method of using a screensaver while the mac is in the login window.

This may however be accomplished using this hint:
Screensaver over Loginwindow

Screensaver Configuration

Some details on how to configure the behaviour of the default screensaver on Mac OS X:

The settings for the default saver are to be found here:
System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/Engine Defaults.plist

More information on this subject here:
Screensaver configuration