
6th August 2005, 15:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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!
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

17th August 2005, 07:13
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
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.
|

17th August 2005, 10:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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.
|

17th August 2005, 14:20
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
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.
|

20th August 2005, 16:28
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
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!
|

23rd August 2005, 20:39
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

24th August 2005, 00:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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...
|

15th September 2005, 15:56
|
|
Junior Member
|
|
Join Date: Sep 2005
Location: Berks, UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

15th September 2005, 16:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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?
|

15th September 2005, 16:49
|
|
Junior Member
|
|
Join Date: Sep 2005
Location: Berks, UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:17.
|
|
Recent comments
12 hours 30 min ago
19 hours 11 min ago
23 hours 1 min ago
1 day 40 min ago
1 day 9 hours ago
1 day 18 hours ago
1 day 19 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 3 hours ago