Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-14-2003, 08:35 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Rep:
|
proftp
Hi all
Everytime I try to login to my ftp server I get:
root@linux:~# ftp deooge.com
Connected to deooge.com.
220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [linux.deooge.com]
Name (deooge.com:root): joey
331 Password required for joey.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
I know that the password is correct. Why is it doing this and how can I fix it?????
Last edited by Joey.Dale; 12-14-2003 at 09:50 PM.
|
|
|
|
12-15-2003, 03:24 AM
|
#2
|
|
Member
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661
Rep:
|
I think that by default you cant login as root. Can you login as a user?
|
|
|
|
12-15-2003, 04:30 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2003
Location: UK
Distribution: SuSE 11.2
Posts: 7
Rep:
|
i dont think he is logging in as root, looks like the user 'joey' to me...
If its simply a case that it is displaying login failed although it hasnt actually failed then i really couldnt even hazard a guess as to why.... but i can suggest a fix... in the config file, you coudl try these lines.. (global config)...
AccessGrantMsg "Access Granted, Hello"
AccessDenyMsg "Access Denied, Incorrect Username/Password Combination"
|
|
|
|
12-15-2003, 04:33 AM
|
#4
|
|
Member
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661
Rep:
|
Oops. Right you are 
|
|
|
|
12-15-2003, 05:11 AM
|
#5
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
I can't even login as ftp (there is no password) and I get the same thing
|
|
|
|
12-15-2003, 05:18 AM
|
#6
|
|
Member
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661
Rep:
|
well to login as FTP you need an anonymouns section in your proftpd.conf file... can you post your config? /etc/proftpd.conf probably...
|
|
|
|
12-15-2003, 05:35 AM
|
#7
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
|
|
|
|
12-15-2003, 05:36 AM
|
#8
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
I've got to go to school, I'll be back at about 3:30 Eastern
|
|
|
|
12-15-2003, 05:41 AM
|
#9
|
|
Member
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661
Rep:
|
Cool... Does the user account FTP exist? Are you actually running the standalone or starting it from inetd? is there anything of interest in the log?
You might want to get logging to a file like /var/log/proftpd.log, add these lines to your config before the anonymous section. I use 'level' warn, but debug would be better for now... (you might need to 'touch /var/log/proftpd.log')
SyslogLevel debug
SystemLog /var/log/proftpd.log
Last edited by fatgod; 12-15-2003 at 05:53 AM.
|
|
|
|
12-15-2003, 02:14 PM
|
#10
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
1. yes
2. standalone
3. no
|
|
|
|
12-15-2003, 02:28 PM
|
#11
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
|
|
|
|
12-15-2003, 02:50 PM
|
#12
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
No, I get the same thing
|
|
|
|
12-15-2003, 02:55 PM
|
#13
|
|
Member
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477
Rep:
|
I had this problem once because by default proftpd doesn't allow users without a valid shell to make connections. Does your user "joey" have a valid shell? If it doesn't, add this to your conf file:
Code:
RequireValidShell off
Not sure if this is the problem, but this is what worked for me. Hopefully the same can be said for you.
|
|
|
|
12-15-2003, 03:06 PM
|
#14
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
That worked, Thank you
|
|
|
|
12-15-2003, 03:20 PM
|
#15
|
|
Member
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477
Rep:
|
No problem. It's nice to hear that I was able to help out.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
proftp
|
onelung02 |
Slackware |
5 |
05-15-2005 05:42 PM |
|
ProFTP
|
againstms |
Linux - Networking |
3 |
11-20-2004 04:38 AM |
|
proftp
|
ScottCamp |
Linux - Newbie |
3 |
11-02-2004 07:58 AM |
|
ProFtp
|
bnumark |
Linux - Software |
5 |
06-28-2003 03:36 PM |
|
proftp
|
spate |
Linux - Software |
2 |
01-09-2003 03:17 PM |
All times are GMT -5. The time now is 12:41 PM.
|
|
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
|
|