LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2003, 11:13 PM   #1
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Rep: Reputation: 15
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?

Thanks.....
 
Old 04-03-2003, 09:10 AM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
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*
 
Old 04-03-2003, 10:26 AM   #3
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Original Poster
Rep: Reputation: 15
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!
 
Old 04-04-2003, 11:50 PM   #4
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Original Poster
Rep: Reputation: 15
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.
 
Old 04-05-2003, 08:31 AM   #5
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
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
 
Old 10-22-2003, 03:22 PM   #6
boetfor
LQ Newbie
 
Registered: Oct 2003
Location: morocco
Distribution: noone
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration