annoying linux wu-ftp server problem: ftp only

ASmurf

Member
Sep 13, 2000
103
0
0
K, I have LM7.2 running on my laptop with ssh, ftp,sendmail, and apache. I read the doc (wu-ftpd guest accounts)on making a ftp-only account (editing ftpaccess,passwd,etc.). When I change the passwd file for the ftp user from \bin\bash to \bin\false (disabling ssh access), wu-ftpd rejects the login (password incorrect even though it is correct) when I try to ftp. Any suggestions???
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
wu-ftpd needs a valid shell for the authentication to succeed, I believe it uses PAM by default for so check out /etc/pam.d/ftp (or similar) and disable the need for a proper shell, or just add /bin/false to /etc/shells which makes it a valid shell.
 

ASmurf

Member
Sep 13, 2000
103
0
0
sweet, I love 5 min replies :) ....yeah, adding /bin/false to shells works. I was a bit confused because I didn't have to do that on a previous install. Oh well, it's all good now. Thanks!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Just as a note, wu-ftp does not have the nicest history. If you get a chance, I (and several others Im sure) would recommend using a different daemon.
 

ASmurf

Member
Sep 13, 2000
103
0
0
er...like what? proftp? I'm a semi-newbie to having Linux as a server

nm...read prev posts....proftp it is..w00t!