On Tue, Jul 20, 1999 at 12:28:42AM -0400, Carl Mummert wrote:

> You can turn off the netstd ftpd by commenting out the apprpriate line
> in /etc/inetd.conf and then '/etc/init.d/netbase restart'.
> 
> As for proftpd, I am not sure if it wants to ru under inetd or as its own 
> daemon.  Look for an entry (maybe commented out) in /etc/inetd.conf, 
> look for /etc/init.d/proftpd, and try th eproftpd manpage to see
> how proftpd wants to be started.

If the proftp daemon will not be used often it is smart the let it be
started by the inetd. This can be done by changing 2 lines in your config
files:

1: in /etc/inetd.conf

ftp             stream  tcp     nowait  root    /usr/sbin/proftpd proftpd
  (when someone connects on ftp port, proftpd will be started)

2: in /etc/proftpd.conf

ServerType                      inetd
  (sets the proftpd in inetd mode. Default the value is "StandAlone" IIRC)



if you changed this: # killall -HUP inetd
                     # /etc/init.d/proftp restart

and you are done.

Paul

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Student @                              |  Using the Power of Linux...
Eindhoven University of                |  ICQ: 8678828          
Technology, The Netherlands            |  email: [EMAIL PROTECTED]

Reply via email to