Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enable AppleShare logging Network
Since moving to OS X, I've missed Mac OS 9's File Sharing Activity Monitor. The next best thing I've found is the ability to turn on logging for file sharing. Here's how to enable it:
  1. Open NetInfo Manager (found in the Applications/Utilities folder).
  2. In NetInfo Manager, choose /config/AppleFileServer.
  3. Choose the "activity_log" property. Change its value from "0" to "1".
  4. Choose "Save" from the NetInfo Manager "Domain" menu.
  5. Stop and restart File Sharing in System Prefs.
  6. Find your log in /Library/Logs/ApplefileService/AppleFileServiceAccess.log
Although there is a "guest_access" property under AppleFileServer, it doesn't appear that you can turn guest access off using it (it's set to "0" by default). Too bad.
    •    
  • Currently 3.25 / 5
  You rated: 4 / 5 (4 votes cast)
 
[10,195 views]  

Enable AppleShare logging | 7 comments | Create New Account
Click here to return to the 'Enable AppleShare logging' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Other Options
Authored by: Paul Burney on Nov 07, '01 08:14:58AM

There are a lot of other options available in that same config section that are fun to play with, including:

  • login_greeting - set a pop-up login greeting on login
  • allow_root_login - probably not a good idea, security wise, but will allow you to login and see all volumes on the drive with complete access, like owner logins in OS 9
  • afp_serverThreads - is this the max users? It's set to 40. I wonder if changing it to something higher would allow more simultaneous users
  • use_appletalk - I wonder if this allows non-IP machines to connect?

There are a bunch of other options. Be careful and have fun.

Paul



[ Reply to This | # ]
Enable AppleShare logging
Authored by: cl0r0x70 on Apr 11, '03 12:30:34PM

Actually, my "guest_access" value was "1". Changing it to "0" had the desired affect of turning of anonymous access to my machine.

I created a user with basically no priveleges and gave out that name/password to all those who needed it.

I also love setting the login message via the same NetInfo screen: "Abandon Hope, All Ye Who Enter"



[ Reply to This | # ]
Stop Guest Access works
Authored by: josephaw on Sep 17, '03 11:21:59AM

Turn on file sharing and try to connect from another computer, Guest access is enabled.
Now stop file sharing and use NetInfo to change the guest flag.
Set the guest_access to 0 (zero) for AppleFileServer and save.
Turn on File sharing.
Then try to access the computer and Guest access is greyed out.
Whew! Door closed!



[ Reply to This | # ]
Stop Guest Access for 10.3 Personal File Sharing
Authored by: lengge on Aug 07, '04 02:01:51PM

First stop the Personal File Sharing in System Preferences -> Sharing

This configuration moved from NetInfo into
/Library/Preferences/com.apple.AppleFileServer.plist

In that file look for the key guestAccess and change its value from true to false.

Restart the Personal File Sharing

BTW, the file share log can be enabled by setting activityLog to true in the same preferences file.



[ Reply to This | # ]
Enable AppleShare logging
Authored by: maiklust on Apr 28, '03 09:31:22PM

Hi

I'm working on a OS X (not Server) and I want to be able to
"better" configure the AppleFileServer. SharePoints is a very
interesting App to help you out with configure options for AFS
which are only accessible via GUI with the Server OS X (I
think). But I'd like to do more.
Most important thing is to manage the file permissions which is
difficult (new folders don't have desired owners and
permissions). Especially the netinfo settings in /config/
AppleFileServer like "permissions_model" look interesting to me.
Does someone know more about those?

thanks!



[ Reply to This | # ]
Enable AppleShare logging
Authored by: fabrizio on Jan 01, '04 11:24:15AM

This hint doesn't work with Panther. However, now it's even more easy:

to enable AFP logging you have to open with root privileges

/Library/Preferences/com.apple.AppleFileServer.plist

and set activityLog to .



[ Reply to This | # ]
Enable AppleShare logging
Authored by: fabrizio on Jan 01, '04 11:27:37AM

This hint doesn't work with Panther. However, now it's even more easy:

to enable AFP logging you have to open with root privileges

/Library/Preferences/com.apple.AppleFileServer.plist

and set

<key>activityLog</key>
to
<true/>
.



[ Reply to This | # ]