acidia
asked on
ftp server wont accept logins
Hiyas,
I installed the wu-ftp, and it works with anonymous users fine, but it wont accept any users with an account in the system (no matter what group they are in). Just says 'login incorrect'.
Am I forgetting something really general here?
/etc/ftpaccess is untouched, wu-ftp manuals wont say anything that help me in this.
Thanks in advance,
~/Acidia
I installed the wu-ftp, and it works with anonymous users fine, but it wont accept any users with an account in the system (no matter what group they are in). Just says 'login incorrect'.
Am I forgetting something really general here?
/etc/ftpaccess is untouched, wu-ftp manuals wont say anything that help me in this.
Thanks in advance,
~/Acidia
ASKER
Yes, the file looks quite like the same. The users are using bash and it's there.
You didn't add the users to /etc/ftpusers, did you? A username in ftpusers is specifically denied.
ASKER
No, I expecially checked the file, and tried with multiple users (with no groups etc..)
Are your usernames "normal" (8 chars or less and all lower case)? Also is there anything in the logs?
Do you get any additional error messages other than "login incorrect" ? It is quite likely there is a permission problem with one of the / dev files. Also, are you using "rftp" or "regular ftp" ?
RedHat uses pam for authentication. Did you install a pam-aware wu-ftpd? What is in the file "/etc/pam.d/ftp"?
ASKER
There is no such file as /etc/pam.d/ftp, the usernames i've used are normal, and I'm using normal ftp.
What logs could I check for helping info?
What logs could I check for helping info?
If you are using RedHat then get the latest and greatest wu-ftpd-2.6.0-0.5.x from the RedHat Errata area: http://www.redhat.com/support/errata/index.html
The logs you could check are /var/log/secure, /var/log/xferlog and /var/log/messages.
The logs you could check are /var/log/secure, /var/log/xferlog and /var/log/messages.
Which Linux are you using? Does it use pam? As has been pointed out if pam is in use there has to be a /etc/pamd.ftp to find passwords.
ASKER
What does the pamd.ftp file must consist?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, typo on my part... I meant /etc/pam.d/ftp.
ASKER
Hih, I just copy/pasted that text to /etc/pam.d/ftp and it started working immediately. Thanks a bunch :)
/bin/bash
/bin/sh
/bin/tcsh
/bin/csh
/bin/ash
/bin/bsh
/bin/bash2