Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot login proftpd.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tiger jh
n00b
n00b


Joined: 05 Jun 2002
Posts: 3

PostPosted: Wed Jun 05, 2002 3:56 am    Post subject: cannot login proftpd. Reply with quote

I installed successfully proftpd by 'emerge proftpd'.
I can connect ftp but I cann't login.
It is same standalone or inetd.
I does not edit any configration file.
what's wrong?
Back to top
View user's profile Send private message
ch3
n00b
n00b


Joined: 21 May 2002
Posts: 24
Location: Belgium

PostPosted: Wed Jun 05, 2002 6:15 am    Post subject: Reply with quote

Maybe you should give more information (type of user you try to connect, error message, ...)

The first things I would check is if the user you try to connect with has a
shell, if not (and you don't wan't him to), make sure you set
RequireValidShell to false in /etc/proftpd/proftpd.conf.
_________________
Tell a man there are 300 billion stars in the universe and he'll believe you.
Tell him a bench has wet paint on it and he'll have to touch to be sure.
Back to top
View user's profile Send private message
tiger jh
n00b
n00b


Joined: 05 Jun 2002
Posts: 3

PostPosted: Wed Jun 05, 2002 7:27 am    Post subject: Reply with quote

Thanks for your reply.
I had tried to connect by the user which has a shell and anonymous.
Maybe I don't need RequireValidShell set.
As i was saying i does not edit any configration.
Error message is "530 Login incorrect. Login failed."

Error message appear immediately.
Maybe this problem associated with PAM.
I can not find profptd configration file at /etc/pam.d/ .
Shoe me a configration file at /etc/pam.d/, if you have it.
Back to top
View user's profile Send private message
Time2D
n00b
n00b


Joined: 08 May 2002
Posts: 2

PostPosted: Tue Jun 18, 2002 7:22 pm    Post subject: Reply with quote

A little late, but... You need a ftp config in /etc/pam.d
Code:
#%PAM-1.0
auth       required          /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth       required          /lib/security/pam_pwdb.so shadow nullok
account    required          /lib/security/pam_pwdb.so
session    required          /lib/security/pam_pwdb.so


I am pretty sure that's the correct one...

T2D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum