View previous topic :: View next topic |
Author |
Message |
tiger jh n00b
Joined: 05 Jun 2002 Posts: 3
|
Posted: Wed Jun 05, 2002 3:56 am Post subject: cannot login proftpd. |
|
|
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 |
|
|
ch3 n00b
Joined: 21 May 2002 Posts: 24 Location: Belgium
|
Posted: Wed Jun 05, 2002 6:15 am Post subject: |
|
|
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 |
|
|
tiger jh n00b
Joined: 05 Jun 2002 Posts: 3
|
Posted: Wed Jun 05, 2002 7:27 am Post subject: |
|
|
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 |
|
|
Time2D n00b
Joined: 08 May 2002 Posts: 2
|
Posted: Tue Jun 18, 2002 7:22 pm Post subject: |
|
|
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 |
|
|
|