Hi #passwd -S ftp ftp NP I guess that NP stands for 'No Password', which reflects /etc/passwd I tried passwd -u ftp also (just in case!) but still the same problem as before. regards Garry Chris Reeves wrote:
Garry Smith wrote:
Hi
uname -a : Linux <hostname> 2.2.16-SMP #1 Wed Aug 2 20:01:21 GMT 2000 i686 unknown
How do I get anonymous ftp working under SuSE Pro 7.0?
I have the following entry in /etc/passwd: ftp::40:2:ftp account:/usr/local/ftp:/bin/bash
/etc/shadow is being used on this system (as per default SuSE 7.0 install) but I removed the ftp entry there and modified the password field in /etc/passwd so that no password is set.
When I try to ftp in as 'anonymous' I get the following error after the entering any thing at the password prompt:
530 Login incorrect ftp: Login failed
Regular users CAN ftp in correctly.
/etc/inetd.conf: ftp stream ftp nowait root /usr/sbin/tcpd in.ftpd
The file /etc/nologin does not exist The file /etc/ftpusers does not contain the user ftp
In earlier versions of SuSE the ftpd always appeared under ps auxw (I think). Now under version 7.0 it is only displayed under ps when a ftp client tries/has connected to the ftpd.
You're probably running ftp through inetd. inetd handles the connections, and when someone connects to port 21, it hands over to ftpd or whatever.
The ftp user account is probably locked. You can check this by doing a 'passwd -S ftp'. If there's an 'L' after the username, then the account is locked. You can unlock it with 'passwd -u ftp'.
Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq