Re: how do i get wu-ftp to work?? (Debian Woody)
Lukas Latz, 2003-Jan-03 09:08 -0800:
> hi all!
>
> apart from my PC running Debian i have an old Mac, and i need to
> transfer lots of files using a crossover cable. the security issues
> involving ftp are not important here because i just need to get this to
> work temporarily.
I would recommend installing vsftpd instead, since it's alot easier to
get running that wu-ftpd. I switched some time ago for the config
ease, but also for the recursive support in vsftpd and it's very
lightweight.
> i've installed wu-ftp using dselect. so far, i found some configuration
> files in /etc/wu-ftp.
> and there is the /etc/ftpusers and /etc/ftpchroot.
> i get the gist that in ftpusers some users are excluded from doing ftp,
> like root or anonymous.
> i've tried commenting those lines, i've also tried ftp-ing as a
> different user, however, all that EVER happens is this:
>
> continuity:~# ftp 127.0.0.1
> Connected to 127.0.0.1.
> 220 continuity FTP server (Version wu-2.6.2(1) Sun Mar 10 20:00:40 GMT
> 2002) ready.
> Name (127.0.0.1:root): snip
> 331 Password required for snip.
> Password:
> 530 Login incorrect.
> Login failed.
> ftp>
Is snip a normal user on this system? It has to be. Also, leave root
on the list in ftpusers. You should be using your normal user account.
> (i'm using 127.0.0.1 for testing to make sure there are no other
> networking isssues involved in this. is that ok?)
This should work fine, as long as snip can login as a normal user.
> i get the same effect when i comment the "anonymous" line in the
> ftpusers file and try to ftp as anonymous.
> in that case the message says, use your email as password, but then it
> also fails.
If you want anonymous access, then remove "anonymous" (or comment it)
in ftpusers.
> in the readme there is mention of the ftpuser's home directory, so i
> created /home/ftp . do i have to create a user called "ftp" or
> "ftpuser" and set the ownership of /home/ftp to that user?
There should be a user called "ftp", but that should have been
recreated when wu-ftpd was installed. Check /etc/passwd. Also, you
need the /home/ftp directory with root.staff ownership...at least
that's the ownership on mine.
> do i have to enter something into /etc/wu-ftp/ftpservers ?
I have nothing listed in my ftpservers file.
> what other config files might be important?
I think you should purge wu-ftpd and reinstall from scratch. It has
always come right up after the initial install using apt/dpkg for me.
jc
--
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User
Reply to: