Changing NFS Service Settings

Use the following parameters with the serveradmin command to change settings for the NFS service.

Parameter (nfs:)

Description

nbDaemons

Default = 6

 

To reduce the number of daemons, you must restart the server

 

after changing this value.

 

 

useTCP

Default = yes

 

You must restart the server after changing this value.

 

 

useUDP

Default = yes

 

You must restart the server after changing this value.

 

 

FTP Service

Starting FTP Service

To start FTP service:

$ sudo serveradmin start ftp

Stopping FTP Service

To stop FTP service:

$ sudo serveradmin stop ftp

Checking FTP Service Status

To see if FTP service is running:

$ sudo serveradmin status ftp

To see complete FTP status:

$ sudo serveradmin fullstatus ftp

Viewing FTP Settings

To list all FTP service settings:

$ sudo serveradmin settings ftp

To list a particular setting:

$ sudo serveradmin settings ftp: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 ftp:logCommands:*

Chapter 8 Working With File Services

77

Page 77
Image 77
Apple oxs manual FTP Service