LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-16-2009, 03:21 PM   #1
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
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
 
Old 02-16-2009, 03:48 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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 03:49 PM.
 
Old 02-16-2009, 03:58 PM   #3
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
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
 
Old 02-16-2009, 04:07 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
how did you created the user?
did you used adduser?
which distribution are you using?
 
Old 02-16-2009, 04:31 PM   #5
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
how did you created the user?
did you used adduser?
Yes I did use adduser

Quote:
Originally Posted by repo View Post
which distribution are you using?
I'm using the linux 2.6.27 as found on kernel.org

Ron
 
Old 02-16-2009, 05:13 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
take a look in
/etc/ftpusers
to see if the users are not excluded
 
Old 02-16-2009, 05:23 PM   #7
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronmadrid View Post

The file /etc/ftpusers is blank.
Here is a copy of /etc/ftpaccess.

...
Ron
 
Old 02-16-2009, 06:44 PM   #8
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 02-17-2009, 03:37 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 02-17-2009, 12:33 PM   #10
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
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 View Post
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
 
Old 02-20-2009, 04:06 PM   #11
ronmadrid
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftpd configuring briansaysword Linux - Server 8 10-05-2006 04:48 PM
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM
Configuring WU-FTPD Brothaigh Linux - Newbie 1 04-20-2005 09:49 AM
Help with WU-FTPD Guest/Real CHMOD CPUguy387 Linux - Newbie 1 08-11-2003 10:47 AM
wu-ftpd login te_conway Linux - Networking 1 11-28-2001 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration