#11  
Old 6th August 2005, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I got it working. I created a file /etc/pam.d/ftp with the following contents:

Code:
#%PAM-1.0
auth    required        pam_unix.so     nullok
account required        pam_unix.so
session required        pam_unix.so
I restarted proftpd, and that's it!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
linux_bastard (11th June 2008)
Sponsored Links
  #12  
Old 17th August 2005, 07:13
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Hi, I'm having the same problem also. I read the other threads earlier posted by falco and I added the information as per instructions by falco, however there was alreay an existing /etc/pam.d/ftp. So I just amended falco's instruction. This is my ftp client log:
Quote:
[R] 220 ProFTPD 1.2.10 Server (ProFTPD server) [192.168.2.101]
[R] USER user1
[R] 331 Password required for user1
[R] PASS (hidden)
[R] 530 Login incorrect.
[R] Connection failed
[R] Delaying for 60 seconds before reconnect attempt #1
I tried both passive and non-passive. I however can log in as Anonymous with no problems.
Reply With Quote
  #13  
Old 17th August 2005, 10:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by domino
Hi, I'm having the same problem also. I read the other threads earlier posted by falco and I added the information as per instructions by falco, however there was alreay an existing /etc/pam.d/ftp. So I just amended falco's instruction. This is my ftp client log:

I tried both passive and non-passive. I however can log in as Anonymous with no problems.
What did you use for username? It must be something like web[no]_xxxx.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 17th August 2005, 14:20
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Sorry Falko, I haven't had a chance to tinker with ftpd yet. I'm still trying to get the DNS client working . But to answer you question, no. I did not use the username you suggested. But I have the feeling it's in the manual that I overlooked. Will post back.
Reply With Quote
  #15  
Old 20th August 2005, 16:28
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Ok... The fix above works when ftp access denied on Fedora 4. On Fedora 3, falco pointed out that it needs to be web[no]_xxxx

FTP on both systems work now.

Thanks!
Reply With Quote
  #16  
Old 23rd August 2005, 20:39
jnoble jnoble is offline
Junior Member
 
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fedora 4 ftp access fix (Falko)

Hello, I did as Falko suggested

nano /etc/pam.d/ftp

Code:
#%PAM-1.0
auth    required        pam_unix.so     nullok
account required        pam_unix.so
session required        pam_unix.so
and
service proftpd restart


and all is well thanks Falko

Should you add that to the FC4 perfect install notes?

James
Reply With Quote
  #17  
Old 24th August 2005, 00:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by jnoble
Should you add that to the FC4 perfect install notes?

James
I have to verify that myself before I update the howto because when I first wrote it I didn't have to create this /etc/pam.d/ftp file. Maybe some packages have changed in the meantime...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 15th September 2005, 15:56
briggers briggers is offline
Junior Member
 
Join Date: Sep 2005
Location: Berks, UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need for pam.d/ftp file

Hi,

I can confirm that this is necessary
I had been trying to get FTP to work - could log in with webftp but not with ftp client.
Added /etc/pam.d/ftp as suggested and it worked first time.
On FC4

Still have problem with sending mail, able to read but not send, username/password rejected. Is this likely to be a similar problem?
Reply With Quote
  #19  
Old 15th September 2005, 16:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by briggers
Still have problem with sending mail, able to read but not send, username/password rejected. Is this likely to be a similar problem?
What's the exact error message? Is there also anything in the mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 15th September 2005, 16:49
briggers briggers is offline
Junior Member
 
Join Date: Sep 2005
Location: Berks, UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Mail sending problem

The mail client - Thunderbird - just reports that conn...

Moved to new thread

...oughts?

Thank you

Last edited by briggers; 15th September 2005 at 17:31. Reason: moved to new thread
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.