LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2005, 04:22 PM   #1
dalesan
LQ Newbie
 
Registered: Aug 2004
Distribution: Ubuntu 5.10 / Debian (sarge)
Posts: 14

Rep: Reputation: 0
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account


Hello,

I've been trying to get an ftp server working since 8 o clock this morning (7 hours ago) without much success. I've compiled ProFTPD 1.2.10 from source according to the awesome guide posted here. My box is running Debian 3.1 kernel version 2.4.27-2-386. Anonymous accounts work fine. When I try to login with my user account, proftpd spits out this debug info:
Code:
ProFTPD 1.2.10 (stable) (built Fri Oct 14 15:53:33 EDT 2005) standalone mode STARTUP
FTP session requested from unknown class
performing ident lookup
ident connection failed: Connection refused
ident lookup returned 'UNKNOWN'
connected - local  : my.server:21
connected - remote : my.computer.at.home:55382
FTP session opened.
dispatching PRE_CMD command 'USER dalesan' to mod_core
dispatching PRE_CMD command 'USER dalesan' to mod_core
dispatching PRE_CMD command 'USER dalesan' to mod_auth
dispatching auth request "endpwent" to module mod_auth_file
dispatching auth request "endpwent" to module mod_auth_unix
dispatching auth request "endgrent" to module mod_auth_file
dispatching auth request "endgrent" to module mod_auth_unix
dispatching CMD command 'USER dalesan' to mod_auth
dispatching auth request "getgroups" to module mod_auth_file
dispatching auth request "getgroups" to module mod_auth_unix
dispatching LOG_CMD command 'USER dalesan' to mod_log
dispatching PRE_CMD command 'PASS (hidden)' to mod_core
dispatching PRE_CMD command 'PASS (hidden)' to mod_core
dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
dispatching auth request "endpwent" to module mod_auth_file
dispatching auth request "endpwent" to module mod_auth_unix
dispatching auth request "endgrent" to module mod_auth_file
dispatching auth request "endgrent" to module mod_auth_unix
dispatching CMD command 'PASS (hidden)' to mod_auth
dispatching auth request "getgroups" to module mod_auth_file
dispatching auth request "getgroups" to module mod_auth_unix
dispatching auth request "getpwnam" to module mod_auth_file
dispatching auth request "getpwnam" to module mod_auth_unix
dispatching auth request "gid_name" to module mod_auth_file
dispatching auth request "gid_name" to module mod_auth_unix
dispatching auth request "auth" to module mod_auth_file
dispatching auth request "auth" to module mod_auth_unix
dispatching auth request "check" to module mod_auth_file
dispatching auth request "check" to module mod_auth_unix
dispatching auth request "setgrent" to module mod_auth_file
dispatching auth request "setgrent" to module mod_auth_unix
USER dalesan (Login failed): Invalid shell: ''
dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
dispatching PRE_CMD command 'QUIT' to mod_core
dispatching PRE_CMD command 'QUIT' to mod_core
dispatching PRE_CMD command 'QUIT' to mod_log
dispatching CMD command 'QUIT' to mod_core
dispatching auth request "endpwent" to module mod_auth_file
dispatching auth request "endpwent" to module mod_auth_unix
dispatching auth request "endgrent" to module mod_auth_file
dispatching auth request "endgrent" to module mod_auth_unix
FTP session closed.
I noticed this: USER dalesan (Login failed): Invalid shell: from above and promptly changed my proftpd.conf file to use the directive "RequireValidShell off" and restarted proftpd. (The above is actually the debug info after doing so)

If anyone has any suggestions as to what I can do to fix this, I would be eternally grateful.

Thanks.
 
Old 10-14-2005, 05:51 PM   #2
dalesan
LQ Newbie
 
Registered: Aug 2004
Distribution: Ubuntu 5.10 / Debian (sarge)
Posts: 14

Original Poster
Rep: Reputation: 0
I got it working, yay!

I just did a useradd and created new accounts and everything worked.
 
Old 10-14-2005, 06:33 PM   #3
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Rep: Reputation: 15
cheater
 
Old 10-14-2005, 06:41 PM   #4
dalesan
LQ Newbie
 
Registered: Aug 2004
Distribution: Ubuntu 5.10 / Debian (sarge)
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Rufus330Ci
cheater
Cheating usually works!
 
  


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 and anonymous login problem from localhost. immer Linux - Networking 0 12-12-2004 07:36 AM
Unable to login using non-root account saxophobe Linux - Security 4 06-28-2004 08:58 AM
Proftpd Anonymous login sxp03m Red Hat 0 10-28-2003 06:55 AM
proftpd anonymous login issues jstander Linux - Software 3 05-05-2003 07:11 PM
Proftpd Anonymous login badsvt351 Linux - Networking 2 02-15-2002 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:26 PM.

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