System Administration Guide: Network Services

ProcedureHow to Start a Standalone FTP Server in the Foreground

  1. 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.

  2. Disable the FTP server.


    # svcadm disable network/ftp
    
  3. 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
    
  4. Tell init to re-examine /etc/inittab.

    This command should start the FTP service.


    # init q