Click to See Complete Forum and Search --> : ftpd


groundzero
02-06-2001, 03:39 PM
Mandrake 7.2..
I need an easy to install and get working ftpd. I doesnt have to be all that seure either im gonna start and stop it manually in order to prevent security holes. I just so my web guy can upload web pages. Suggestions?
:D

X_console
02-06-2001, 03:43 PM
Didn't Mandrake come with wu-ftpd? If you commented out ftp in /etc/inetd.conf, just uncomment it and "killall -HUP inetd" and you should be fine.

groundzero
02-06-2001, 03:50 PM
ftp was not commented out but inetd wasnt running when i did ps -ef. So i just types inetd at CL and then tried to ftp to it from another box. didnt work.
It said:

Connect to MYBOXNAME
421 Service not available, remote server has closed connection

What do i check next and thanx for all the help.

X_console
02-06-2001, 04:49 PM
Check /var/log/messages and /var/log/secure for clues on what could have caused it.

groundzero
02-06-2001, 05:22 PM
didnt see anything in either one.
My hosts.allow file have a fsck up in it but not it just reads

all
sshd: all

do I need an entry there for FTP
Also i did a whereis wu-ftp and got:
wu-ftp:
and thats it. Is there a way I can make sure that it is installed??

X_console
02-06-2001, 05:31 PM
In your hosts.allow remove those two lines and put the following:

ALL:ALL

See if that works. Come to think of it, the last time I installed Mandrake, I don't think it installed wu-ftp for me along with telnet and some other networking tools. Even though I told it to install EVERYTHING during the Installation. Make sure your /etc/hosts.deny is empty (or at least back it up before you remove the contents).

Then try again and see if it works. Also try "locate wu-ftp" or "locate ftpd" and see if it shows up.

groundzero
02-06-2001, 05:34 PM
gonna try that in a few thatnx for all your help X :)

groundzero
02-07-2001, 12:52 PM
OK heres where I am. I figured out that wu-ftpd was not installed. I went ahead and installed proftpd. The install went fine. but how do I start the thing. I commented out the ftp line in inetd. I dont want to start it that way. what i wantto do in detail is the following.
1. Set up a user account for my webguy:
username=webmaster passwd=xxxxxxxx
set his home dir to /var/www/ becuase I am pretty sure thats the only dir he needs to get into.
2. Setup proftpd so I can ssh in and start it. Upload files then shut it off. I dont want inetd to start it.

3. Set up proftpd so that the only allowed usernames are webmaster,myown, and root no anonymous what-so-ever. And set the initail default directory for all of the users to be /var/www/. This box is only a web server after all.

Thats the detailed version.

I have already created the user accounts with adduser and set the home dir by editing the /etc/passwd file. I have installed proftpd but have not edited the config file as i dont fully understand it and I have not been able to start it up yet.

Thanx for all your help.

groundzero
02-08-2001, 09:13 AM
:D .................BUMP................... :D

X_console
02-08-2001, 11:48 AM
Not sure how proftp works. But doesn't the README or INSTALL say how to start it? As for disallowing root/anonymous and so on from logging in, I normally just add their names to /etc/ftpusers

groundzero
02-09-2001, 11:16 AM
The readme and the install arent much help. Has anyone used proftpd out there and can give a clue. TIA guys.......

ssadams
02-09-2001, 08:57 PM
I use it but cant be much help. :( try Proftpd (http://pdd.sourceforge.net/userguide/linked/userguide.html)and see if any of this mess helps.You could setup your users as guests but what ever you do dont allow ftp from root :)

diskman
02-10-2001, 12:42 AM
Goto a console and run linuxconf as root. Look for SERVERS section and enable FTP SERVER. It's been a few weeks since I ran Drake 7.2 but I seem to remember that like RedHats the FTP server is off. I installed ftpd and hunted till I found FTP in linuxconf. Worked like a charm. Same with telnet too.

andre
02-10-2001, 12:52 AM
I've also been trying to set up my ftp, using proftpd, the command is supposed to be /etc/sbin/in.proftpd
but I expect you are having the same problem as I ...there is simply no response after typing in the command. and no one can ftp in.

just wanted to share my pain. now I'm trying pure ftp, wish me luck!

girl
02-10-2001, 07:09 AM
come on guys!! dont give up on proftp :( ..i need help in allowing users to ftp into there own directy.All users are in the group 'users', and i cant have any anonymous logins. I may be a newbie, but damm some config files make so sense what so ever. :confused:
Anyone who can help thanx! :D

groundzero
02-14-2001, 10:28 AM
Im back from my travels and Im going to get this thing working today I hope. wish me luck Ill post what I do and if I am succesfull or not.......
:cool:

groundzero
02-14-2001, 02:51 PM
OK everyone I said fsck Proftpd and downloaded and installed wu-ftpd. I have ftp commented out of my inetd.conf But after I type ftpd and tested it I cant shut it off......
Help me kill this thing. It doesnt show up in ps-ef.
Help
:eek: