LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-26-2002, 11:40 PM   #1
carlmenezes
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Rep: Reputation: 0
Unhappy Trouble with Proftpd and anonymous logins on Mandrake 9


First, I have read all the posts about ProftpD and they don't solve my problem : for some reason, anonymous logins are rejected after you enter the password - it gives a "530 Login incorrect". How do I fix this?

My target is to have working anonymous access and then to be able to enable/disable it as and when needed.

Thanks.

 
Old 10-27-2002, 10:39 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Could you copy Anonymous section of your proftpd.conf and an example session(when you try to log in as anonymous)?
 
Old 10-27-2002, 12:47 PM   #3
carlmenezes
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
sure...here it is :

<Anonymous /mnt/windows/Linux/Mandrake9/tree/>
DefaultChdir /mnt/windows/Linux/Mandrake9/tree/
UserDirRoot off
AllowAll
User ftp
Group ftp
AuthAliasOnly off
RequireValidShell off
</Anonymous>

and this is what happens when i try to login :

[carl@carleeto carl]$ ftp localhost
Connected to localhost.localdomain.
220 ProFTPD 1.2.5 Server (Carl's FTP Server) [carleeto.xxx.xxx]
500 AUTH not understood.
500 AUTH not understood.
KERBEROS_V4 rejected as an authentication type
Name (localhost:carl): anonymous
331 Password required for anonymous.
Password:
530 Login incorrect.
Login failed.
ftp>
 
Old 10-27-2002, 12:52 PM   #4
carlmenezes
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
just thought i'd add this too :

/mnt/windows/Linux/Mandrake9/tree/ is a FAT32 partition which is where I'd like anonymous users to be when they log in. The partition has been mounted with "root:root" as the owner and with 777 permissions.

hope this helps.
 
Old 10-27-2002, 01:02 PM   #5
carlmenezes
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
After a lot of additional poking around on the internet, I found the solution. Apparently, Mandrake 9 users need to install an additional rpm to enable anonymous logins....it worked fine after that. Here is the URL for any future Mandrake 9 users who have trouble :

http://rpmfind.net//linux/RPM/cooker.../RPMS/proftpd-
anonymous-1.2.5-3mdk.i586.html

Thanks again Mara for offering to help - I was really stuck on this one.
 
Old 10-28-2002, 03:36 AM   #6
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well that RPM only gives you a different configuration file for the anonymous logins, so it's probably not necessary to use that RPM if you have specified everything properly in your configuration file.

One thing you where missing is the alias anonymous. Without it you can only log in as ftp:
UserAlias anonymous ftp
 
Old 02-25-2003, 11:29 PM   #7
webdev
LQ Newbie
 
Registered: Oct 2002
Distribution: Mandrake 8.x+
Posts: 5

Rep: Reputation: 0
I cannot get my anonymous to work either (same distro/version). It crashes just after the email/password part.
 
  


Reply



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
Proftpd Anonymous Users zaicheke Linux - Networking 1 08-20-2004 10:03 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
ProFtpd and anonymous log-in cyclic Linux - Software 5 03-03-2004 01:59 PM
Proftpd and anonymous logins Wynd Linux - Software 5 11-12-2003 10:05 PM
Proftpd Anonymous login sxp03m Red Hat 0 10-28-2003 06:55 AM

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

All times are GMT -5. The time now is 12:02 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
Open Source Consulting | Domain Registration