Hi All,

We are developing an app that does a security review of a Mac looking for obvious vulnerabilities and settings that don't meet our published Best Practices. One of the steps is to get the current state of each of the 'services' listed in the sharing preferences (AFP, SMB, printer sharing, etc...). Additionally we want to give the user an opportunity, within our app, to changes any that don't comply with BPs. In Leopard the services don't seem to be quite so 'transparent'. In Tiger one can determine if AFP is running with 'ps -axc | grep AppleFileServer' and AFP can be turned off by simply running a shell command (sudo killall AppleFileServer). This doesn't really work in Leopard for either determining if AFP is running (AppleFileServer doesn't seem to be listed in 'ps -axc' even if its running) or turning it off.

My question is; first, is there a reference document that lists which plists are associated with which each service? and second, is CFPreferences the best method for manipulating sharing prefs?

Thanks

Jim Brown
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to