Specifications
Chapter 9 Working with File Services 153
Changing FTP Service Settings
To change FTP service settings, use the serveradmin tool.
To change a setting:
$ sudo serveradmin settings ftp:
setting
=
value
To change several settings:
$ sudo serveradmin settings
ftp:
setting
=
value
ftp:
setting
=
value
ftp:
setting
=
value
[...]
Control-D
Available FTP Service Settings
To change settings for the FTP service, use the following parameters with the
serveradmin tool.
Parameter Description
setting
An FTP service setting. To see a list of available settings, enter
$ sudo serveradmin settings ftp
or see “Available FTP Service Settings” below.
value
An appropriate value for the setting.
Parameter (ftp:) Description
administratorEmailAddress Sets the administrator mail address.
Default =
"user@hostname"
anonymous-root
Sets the anonymous root directory.
Default =
"/Library/FTPServer/FTPRoot"
anonymousAccessPermitted
Allows anonymous access to FTP if you change the
default setting to yes.
Default =
no
authLevel
Sets the authentication method. “KERBEROS” and
“
ANY METHOD” are the other possible values.
Default =
"STANDARD"