Problème de config Pureftpd

Problème de config Pureftpd - réseaux et sécurité - Linux et OS Alternatifs

Marsh Posté le 23-11-2003 à 19:30:02    

comment passer des arguments a pure-ftpd qui se charge en inetd?

Reply

Marsh Posté le 23-11-2003 à 19:30:02   

Reply

Marsh Posté le 23-11-2003 à 20:18:10    

en lisant la doc ?

Citation :


        ------------------------ OPTIONS ------------------------
     
     
The previous steps should be enough to get a running FTP server. But you can
add some command-line arguments to change its behavior. These arguments have
to be added after the pure-ftpd path in your super-server configuration.
For instance, you want to add the '-s' and '-a 42' flags. Here are what the
configuration lines will look like in your super-server:
 
- Inetd:
ftp        stream        tcp        nowait        root        /usr/sbin/tcpd  /usr/local/sbin/pure-ftpd -s -a42
or
ftp        stream        tcp        nowait        root        /usr/local/sbin/pure-ftpd  pure-ftpd -s -a42
 
If you use Inetd, don't put space between options and arguments. e.g. use
-a42 instead of -a 42 . Inetd has trouble dealing with a lot of options and
with characters like ':' .
 
- Xinetd:
 
service ftp  
{  
    socket_type = stream  
    server = /usr/local/sbin/pure-ftpd
    server_args = -s -a 42
    protocol = tcp  
    user = root  
    wait = no
    disable = no  
}
 
- TCPserver:
tcpserver -DHRl0 0 21 /usr/local/bin/pure-ftpd -s -a 42 &
 
- G2S:
{  
    SERVICE ftp
    DESCRIPTION "Pure-FTPd"
    RUN /usr/local/sbin/pure-ftpd -s -a 42
}
 


---------------
Intermittent du GNU
Reply

Marsh Posté le 25-11-2003 à 13:01:31    

utilise xinetd et les server_args

Reply

Marsh Posté le 25-11-2003 à 13:57:15    

Lance-le en standalone :)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed