FTP...Help!
All I want to do is CONFIGURE an FTP server on my linux RH8.0 box. I downloaded ProFTP, but no matter what I do, it still says I'm using vsFTPd when I ftp to my localhost. So my questions are:
- How do I "disable" vsFTPd and "enable "ProFTP"? - I want to creat no more than 5 users, and they will all go to a public directory...? - If my Linux box is behind an XP NAT box, can I configure the XP box to forward all FTP requests to mu Linux box's private IP on my LAN? :newbie: Thanks..... |
Remove the package for vsFTPd. Try 'rpm -e vsftpd', then reinstall ProFTPd.
You will need to look at the ProFTPd documentation and figure out how to configure anonymous users. Even though you know which 5 accounts are to be used on your system, they are still called 'anonymous' if they are restricted to a portion of your file system system, a opposed to a regular FTP user that can access (read) everything. I have no idea if XP is cabable of forwarding connections to :21 to your other Linux host... I imagine it's possible, but I couldn't tell you how it's done. I know that if Linux was performing the NAT instead of XP, it's possible *HINT HINT* |
Thanks
Thanks bentz,
I might just have to make my Linux box the "NATting" box on my network....:) So I can just uninstall all other FTP packages, then reinstall ProFTPd and everything should be fin...Great! |
Ok, I was able to uninstall vsftpd and then restart xinet.d and when I FTP'd in this time, it says I'm using wu-ftpd!? Do I need to uninstall that one as well? Also, I don't see any specific service to start/stop for ProFTPd...How exactly do I do that? Thanks AGAIN.:)
|
Yes, you probably will need to uninstall wu-ftpd also. I'm not familiar with vsftpd... I didn't know that these two could be installed on top of each other.
How you start ProFTPd depends on how you installed it (source or package?). There might be a file in /etc/xinetd.d/ (if ProFTPd is installed as an xinetd daemon) or there might be an initscript called /etc/rc.d/init.d/proftpd (if ProFTPd is installed as standalone). I installed a copy of ProFTPd, and had to write my own initscript for RedHat. The script that follows below assumes that your 'make install' but the binaries in /usr/local/sbin/proftpd: The contents of my /etc/rc.d/init.d/proftpd file (Copyleft Bentz): #!/bin/bash # # chkconfig: 345 55 25 # description: ProFTPd Server # case "$1" in start) if [ ! -f /var/lock/subsys/proftpd ] ; then echo "Starting ProFTPd..." /usr/local/sbin/proftpd touch /var/lock/subsys/proftpd if [ -f /etc/shutmsg ] ; then rm -f /etc/shutmsg ; fi fi ;; stop) if [ -f /var/lock/subsys/proftpd ] ; then echo "Stopping ProFTPd..." /usr/local/sbin/ftpshut now rm -f /var/lock/subsys/proftpd fi ;; restart) $0 stop $0 start ;; status) if [ -f /var/lock/subsys/proftpd ] ; then echo "ProFTPd ( `pgrep -d ', ' proftpd` ) started." else echo "ProFTPd is stopped." fi ;; *) echo $"Usage: `basename $0` {start|stop|restart|status}" esac |
i just want to know how do i have an access to my ftp
and if i could do some uploading to it or no 10x |
All times are GMT -5. The time now is 02:58 PM. |