68
To list a particular setting:
$ sudo serveradmin settings afp:setting
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. |
|
|
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
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"). |
|
|
To change several settings:
$ sudo serveradmin settings
afp:setting = value
afp:setting = value
afp:setting = value
[...]
List of AFP Settings
The following table lists AFP settings as they appear using serveradmin.
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 |
|
|
Chapter 8 Working With File Services