View previous topic :: View next topic |
Author |
Message |
mmontg1 Tux's lil' helper
Joined: 21 Jun 2002 Posts: 129
|
Posted: Fri Nov 08, 2002 4:06 am Post subject: weird proftpd issues |
|
|
i have 2 users: moldham, and mmont. both have are in the same groups, have /bin/bash as their shell, have valid passwords (both can log in via ssh), are owners of their respective home dirs, have the same permissions on their home dirs, BUT mmont can login to the ftp server, and moldham can't. If i give the correct password for moldham, it returns this:
Code: | Connected to localhost.
220 ProFTPD 1.2.5 Server (Naemon's ProFtpd Server) [tux]
Name (localhost:root): moldham
331 Password required for moldham.
Password:
530 Login incorrect.
Login failed.
421 Service not available, remote server has closed connection |
and if i give it the WRONG password it's this???
Code: | Connected to localhost.
220 ProFTPD 1.2.5 Server (Naemon's ProFtpd Server) [tux]
Name (localhost:root): sishro^H
331 Password required for sishr.
Password:
530 Login incorrect.
Login failed. |
i'm just bewildered.... any help?
here's my proftpd.conf
Code: | ServerName "Naemon's ProFtpd Server"
ServerType standalone
DefaultServer on
AuthPAM off
AuthPAMConfig ftp
# Port 21 is the standard FTP port.
Port 21
UseReverseDNS off
DefaultChdir /var/ftp/pub
DefaultRoot /var/ftp/pub
RequireValidShell off
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
SystemLog /var/log/proftpd/errors.log
TransferLog /var/log/proftpd/transfers.log
MaxInstances 30
# Set the user and group under which the server will run.
User proftpd
Group proftpd
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
<Limit STOR>
DenyAll
</Limit>
</Directory>
<Directory /var/ftp/pub/Upload/*>
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory> |
|
|
Back to top |
|
|
mmontg1 Tux's lil' helper
Joined: 21 Jun 2002 Posts: 129
|
Posted: Sat Nov 09, 2002 5:26 pm Post subject: |
|
|
i guess i'll talk to myself to follow up for anyone who misconfigures their ftp site like i did. the root directory (for my /var/ftp/pub) did NOT have execute permissions for the groups @ which my ftp users were mapped to. (for my it was the ftp group). apparantly the user or groups MUST have execute permission to be able to cd into the directory. hope this helps someone. |
|
Back to top |
|
|
TUX2k n00b
Joined: 16 May 2002 Posts: 62 Location: Purmerend, The Netherlands
|
Posted: Sun Nov 10, 2002 9:34 pm Post subject: |
|
|
I having the same problem here.
Even with real users I cant login.
I think this has some thing to do with shadow password.
You need to compile proftpd with shadow passwords enabled.
If I'm correct please tell me how to compile via emerge with the shadow passwords enabled. |
|
Back to top |
|
|
|