Hello,

I am Running RH7.0 and kernel 2.2(16-22). I want to change the default port 
of my ftp server daemon(wu-ftpd). I have boiled it down to changing the 
/etc/xinetd.d/wu-ftpd file. The xinetd.conf is displayed below:

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST RECORD
}

includedir /etc/xinetd.d

The above is what is in my /etc/xinetd.conf file. The last line includes all 
the file in /etc/xinetd.d directory, one of which is the wu-ftpd file I 
mentioned(which is displayed below). Is this right?

# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses \
#       normal, unencrypted usernames and passwords for authentication.
service ftp
{
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/in.ftpd
        server_args             = -l -a -p 999
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        nice                    = 10
}

The different variations I have tried  on the server_args have been as 
follows:

server_args             = -l -a -p 999 -P 998
server_args             = -l -a -s -p 999
server_args             = -l -a -p999 -P998

Everytime that I restart the xinetd daemon, it is still listening on port 
21. I know it shuts it down because I look when I stop in only. I look at 
what ports have listeners.  Port 21 is not there. When I start the daemon it 
is still listening listened on port 21. I am not sure what else to do. 
Thanks for you time. Do I need to reboot?

Mike
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to