Document Information 
Preface 
Part I Network Services Topics 
1.  Network Service (Overview) 
2.  Managing Web Cache Servers 
3.  Time-Related Services 
Part II Accessing Network File Systems Topics 
4.  Managing Network File Systems (Overview) 
5.  Network File System Administration (Tasks) 
6.  Accessing Network File Systems (Reference) 
Part III SLP Topics 
7.  SLP (Overview) 
8.  Planning and Enabling SLP (Tasks) 
9.  Administering SLP (Tasks) 
10.  Incorporating Legacy Services 
11.  SLP (Reference) 
Part IV Mail Services Topics 
12.  Mail Services (Overview) 
13.  Mail Services (Tasks) 
14.  Mail Services (Reference) 
Part V Serial Networking Topics 
15.  Solaris PPP 4.0 (Overview) 
16.  Planning for the PPP Link (Tasks) 
17.  Setting Up a Dial-up PPP Link (Tasks) 
18.  Setting Up a Leased-Line PPP Link (Tasks) 
19.  Setting Up PPP Authentication (Tasks) 
20.  Setting Up a PPPoE Tunnel (Tasks) 
21.  Fixing Common PPP Problems (Tasks) 
22.  Solaris PPP 4.0 (Reference) 
23.  Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks) 
24.  UUCP (Overview) 
25.  Administering UUCP (Tasks) 
26.  UUCP (Reference) 
Part VI Working With Remote Systems Topics 
27.  Working With Remote Systems (Overview) 
28.  Administering the FTP Server (Tasks) 
Administering the FTP Server (Task Map) 
Controlling FTP Server Access 
How to Define FTP Server Classes 
How to Set User Login Limits 
How to Control the Number of Invalid Login Attempts 
How to Disallow FTP Server Access to Particular Users 
How to Restrict Access to the Default FTP Server 
Setting Up FTP Server Logins 
How to Set Up Real FTP Users 
How to Set Up Guest FTP Users 
How to Set Up Anonymous FTP Users 
How to Create the /etc/shells file 
Customizing Message Files 
How to Customize Message Files 
How to Create Messages to Be Sent to Users 
How to Configure the README Option 
Controlling Access to Files on the FTP Server 
How to Control File Access Commands 
Controlling Uploads and Downloads on the FTP Server 
How to Control Uploads to the FTP Server 
How to Control Downloads to the FTP Server 
Virtual Hosting 
How to Enable Limited Virtual Hosting 
How to Enable Complete Virtual Hosting 
Shutting Down the FTP Server 
How to Shut Down the FTP Server 
Debugging the FTP Server 
How to Check syslogd for FTP Server Messages 
How to Use greeting text to Verify ftpaccess 
How to Check the Commands Executed by FTP Users 
Configuration Help for Busy Sites 
29.  Accessing Remote Systems (Tasks) 
Part VII Monitoring Network Services Topics 
30.  Monitoring Network Performance (Tasks) 
Glossary 
Index 
 | 
      
	       	 
             
Starting the FTP Server Automatically
The FTP server can be started in one of three ways: 
As a nowait server that is started by inetd  
As a standalone server run in the background  
As a standalone server run in the foreground from the inittab file  
A standalone server always has the quickest possible response time, and is intended
for large servers that are dedicated to providing FTP service. The standalone server
provides low connection latency for dedicated servers because the standalone system never has
to be restarted. The standalone server is always running, even during off-peak hours,
waiting indefinitely for connections. 
How to Start an FTP Server Using SMFBy default, the SMF service is configured to start the FTP server
using the nowait mode. If the site handles many connections, the FTP server can
also be run in standalone mode. See the in.ftpd(1M) man page for
information on additional command-line options.  
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.  
- Verify the wait property for the FTP server.
The line reporting that wait=FALSE indicates that the server is started in nowait
mode. # inetadm -l network/ftp
SCOPE    NAME=VALUE
         name="ftp"
         endpoint_type="stream"
         proto="tcp6"
         isrpc=FALSE
         wait=FALSE
         exec="/usr/sbin/in.ftpd -a"
         user="root"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE 
- Start the FTP server.
# svcadm enable network/ftp   
How to Start a Standalone FTP Server in the Background
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.  
- Disable the FTP server.
# svcadm disable network/ftp  
- Start the standalone FTP server.
# /usr/sbin/in.ftpd -a -S Add the line to an FTP server startup script. See Using Run Control Scripts in System Administration Guide: Basic Administration for
information on creating a system startup script.   
How to Start a Standalone FTP Server in the Foreground
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.  
- Disable the FTP server.
# svcadm disable network/ftp  
- Add an entry to the inittab file to start the service.
The new entry in /etc/inittab should look something like the following: ftpd:3:respawn:/usr/sbin/in.ftpd -a -s  
- Tell init to re-examine /etc/inittab.
This command should start the FTP service. # init q   
          
       |