Apple oxs Server User Manual


 
68 Chapter 8 Working With File Services
To list a particular setting:
$ sudo serveradmin settings afp:setting
To list a group of settings:
You can list a group of settings that have part of their names in common by typing
only as much of the name as you want, stopping at a colon (:), and typing an asterisk
(*) as a wildcard for the remaining parts of the name. For example,
$ sudo serveradmin settings afp:loggingAttributes:*
Changing AFP Settings
You can change AFP service settings using the serveradmin command.
To change a setting:
$ sudo serveradmin settings afp:setting = value
To change several settings:
$ sudo serveradmin settings
afp:setting
= value
afp:setting = value
afp:setting = value
[...]
Control-D
List of AFP Settings
The following table lists AFP settings as they appear using serveradmin.
Parameter Description
setting
Any of the AFP service settings. For a complete list of settings, type
serveradmin settings afp
or see “List of AFP Settings” on this page.
Parameter Description
setting
An AFP service setting. To see a list of available settings, type
$ sudo serveradmin settings afp
or see “List of AFP Settings” on this page.
value
An appropriate value for the setting. Enclose text strings in double
quotes (for example, "text string").
Parameter (afp:) Description
activityLog Turn activity logging on or off.
Default = no
activityLogPath Location of the activity log file.
Default = /Library/Logs/AppleFileService/
AppleFileServiceAccess.log
LL2354.book Page 68 Monday, October 20, 2003 9:47 AM