Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-16-2009, 04:21 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Rep:
|
Configuring wu-ftpd for real user login
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.
Thank you in advance for the help.
Ron
|
|
|
02-16-2009, 04:48 PM
|
#2
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Take a look in the log files for any pointers.
Can you login as normal user? not root
root is by default forbidden to use ftp
Last edited by repo; 02-16-2009 at 04:49 PM.
|
|
|
02-16-2009, 04:58 PM
|
#3
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by repo
Can you login as normal user? not root
root is by default forbidden to use ftp
|
I haven't created any other users for this system as of yet. I can only login as Anonymous or ftp.
I did just try creating another user and I cannot login like this either.
Ron
|
|
|
02-16-2009, 05:07 PM
|
#4
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
how did you created the user?
did you used adduser?
which distribution are you using?
|
|
|
02-16-2009, 05:31 PM
|
#5
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by repo
how did you created the user?
did you used adduser?
|
Yes I did use adduser
Quote:
Originally Posted by repo
which distribution are you using?
|
I'm using the linux 2.6.27 as found on kernel.org
Ron
|
|
|
02-16-2009, 06:13 PM
|
#6
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
take a look in
/etc/ftpusers
to see if the users are not excluded
|
|
|
02-16-2009, 06:23 PM
|
#7
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by ronmadrid
The file /etc/ftpusers is blank.
Here is a copy of /etc/ftpaccess.
...
|
Ron
|
|
|
02-16-2009, 07:44 PM
|
#8
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
02-17-2009, 04:37 AM
|
#9
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
I'm using the linux 2.6.27 as found on kernel.org
|
which distribution?
How did you installed wu-ftpd ?
It's weird /etc/ftpusers is blank
|
|
|
02-17-2009, 01:33 PM
|
#10
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by repo
which distribution?
|
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.
Ron
|
|
|
02-20-2009, 05:06 PM
|
#11
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
Repo,
Thanks for trying. I really appreciate it.
Anyone else have any ideas?
I think I might try switching to vsftpd, but I'm afraid I'm going to run into a similar situation when trying to install it by hand.
Ron
|
|
|
All times are GMT -5. The time now is 10:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|