Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having trouble configuring wu-ftpd on my system to allow a real user to login. I am not sure where to start. I'll try to give as much information as possible.
Here is a log of what happened.
ftp> open 10.196.31.84
Connected to 10.196.31.84.
220 (none) FTP server (Version wu-2.6.2(1) Thu Feb 12 12:38:43 PST 2009) ready.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.196.31.84:root): root
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
The user and password are correct as I can login using telnet.
I am using Linux 2.6.27 with a very minimal file system (created from ELDK SELF image)
The file /etc/ftpusers is blank.
Here is a copy of /etc/ftpaccess.
class all real,guest,anonymous *
email root@localhost
loginfails 5
readme README* login
readme README* cwd=*
message /welcome.msg login
message .message cwd=*
compress yes all
tar yes all
chmod no guest,anonymous
delete no guest,anonymous
overwrite no guest,anonymous
rename no guest,anonymous
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg
passwd-check rfc822 warn
And here is a copy of /etc/xinetd.d/wu-ftpd
# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}
I'm not sure what other information would be helpful, but this is everything that I can think of that could be useful.
There's a part of me that feels that perhaps this has to do with pam authentication. I am trying to read up on it currently but I don't know how it works as of now.
By distribution I'm guessing you mean Debian or Fedora, etc. There is no distribution. I built this kernel myself from the source found at kernel.org. I downloaded the source, configured it, and built it. My system is an embedded PPC system.
Quote:
Originally Posted by repo
How did you installed wu-ftpd ?
It's weird /etc/ftpusers is blank
I am building a file system (almost) from scratch. The base file system image I started with had wu-ftpd already "installed", but not properly configured. At least I'm guessing it's not properly configured since I can't login with a real user, but only as a guest.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.