View Single Post
  #4   (View Single Post)  
Old 13th July 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,987
Default

There are two ways to run the ftpd(8) daemon:
  1. From legacy Unix: as a service started and stopped by inetd(8) interactively as ftp clients connect and disconnect. Provisioning would be performed in inetd.conf(5). There is an example file in /etc/examples/inetd.conf.
  2. More commonly: as an always-running service started by the rc.d(8) system at boot. Options and flags are set with rcctl(8). Here's an example of one possible provision and startup -- the daemon will also start at boot thereafter:
    Code:
    # rcctl enable ftpd
    # rcctl set ftpd flags -D -m 0
    # rcctl start ftpd
Reply With Quote