LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-17-2004, 07:53 PM   #1
fireman949
Member
 
Registered: Dec 2003
Location: Walls
Distribution: Slackware 10.1;CentOS 4
Posts: 51

Rep: Reputation: 15
Question Shadow passwords and ProFTP


I removed ProFTPd and re-compiled and installed it. Here are the parameters I used:
Code:
./compile \
--prefix=/www/proftpd \
--sysconfdir=/etc \
--mandir=/usr/share \
--localstatedir=/var \
--with-modules=mod_rewrite:mod_log \
--enable-shadow


I used the /tmp/PFTEST/ files to test it and I can connect to 'ftp localhost 2021' and login with the user : pass = proftpd : proftpd.
So when I use the default /etc/proftpd.conf file, ftp localhost with a system user : password, it is telling me:
'530 Login Incorrect
Login failed.'

Code:
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - FTP session opened.
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'USER eric' to mod_rewrite
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'USER eric' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'USER eric' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'USER eric' to mod_auth
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching CMD command 'USER eric' to mod_auth
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching LOG_CMD command 'USER eric' to mod_log
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - USER eric (Login failed): Incorrect password.
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'SYST' to mod_rewrite
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'SYST' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching PRE_CMD command 'SYST' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching CMD command 'SYST' to mod_core
linuxbox.wallsfiredept.org (localhost[127.0.0.1]) - dispatching LOG_CMD command 'SYST' to mod_log


I did some checking on the PFTEST.conf file (because that one worked) and found that it refered to :
Code:
AuthUserFile        /tmp/PFTEST/PFTEST.passwd
AuthGroupFile       /tmp/PFTEST/PFTEST.group

, however my /etc/proftpd.conf did not refer to an
AuthUserFile or
AUthGroupFile

and some others. I noticed that the PFTEST.passwd looked similar to the /etc/passwd file (only with less users)
and the PFTEST.group file looked simiar to the /etc/group file.

I am a linux (to some extent) and am pretty sure the passwd and group file is where my problem lies...
can anyone point me in the right direction?

also, should I have used --enable-shadow? what exactly did I do?

Last edited by fireman949; 02-18-2004 at 01:43 PM.
 
  


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
ProFTP login paul_mat Slackware 17 05-05-2005 06:57 PM
ProFTP users issue reynacho_au Linux - Software 4 12-20-2004 08:46 PM
RH9 proFTP speed issue benbroad Linux - Software 8 12-01-2004 02:33 AM
Allow ProFTP login but prevent local login? sorrodos Linux - Networking 2 06-23-2004 01:56 PM
ProFTP login problems Syncrm Linux - General 1 05-17-2002 01:35 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration