Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-14-2002, 02:18 PM   #1
LQ Newbie
Registered: Jan 2002
Location: phx,az
Distribution: RedHat 7.2
Posts: 11

Rep: Reputation: 0
Proftpd Anonymous login

I have installed proftpd-1.2.5rc1-1. I renamed the basic.conf to proftpd.conf and put it in the /etc directory.
When I try to logon as anonymous it says:
331 Anonymous login ok, send your complete email address as your password.
I type a e-mail address in for passoword and I get:
530 Login incorrect.
Login failed.

I look in my log files and there is an error stating:
Feb 12 16:56:21 hostname proftpd[12321] Hostname (Hostname[IP Address]): no such user 'anonymous'.

I have tried just for testing, creating a local user "anonymous" and I get the same errors.

Thanks for any help.
Old 02-15-2002, 10:27 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well the user anonymous never exists. If you look in that configuration file in the anonymous section you should see a line like:
UserAlias anonymous ftp

This makes anonymous be the alias for ftp. So actually you should have a user named ftp. My ftp user doesn't have a valid shell because I don't want people to be able to login normally with that account. So I had to add another line to be able to get the ftp account to log in:
RequireValidShell off

I think you can also usually set the shell to /bin/false which would be a valid shell to ftp but wouldn't allow users to login.
Old 02-15-2002, 06:15 PM   #3
LQ Newbie
Registered: Jan 2002
Location: phx,az
Distribution: RedHat 7.2
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs up

I added the "RequireValidShell off" line, and all is working now.

Thanks a lot.



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
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 07:41 PM
Proftpd and anonymous login problem from localhost. immer Linux - Networking 0 12-12-2004 08:36 AM
ProFtpd and anonymous log-in cyclic Linux - Software 5 03-03-2004 02:59 PM
Proftpd Anonymous login sxp03m Red Hat 0 10-28-2003 07:55 AM
proftpd anonymous login issues jstander Linux - Software 3 05-05-2003 08:11 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:36 PM.

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