FTP question
Francis X. Maier
yellowdog-general@lists.terrasoftsolutions.com
Wed Mar 24 20:01:02 2004
Bill, you are the man. I read the snippet, obeyed its commands and
voila, it works.
Fran
On Mar 24, 2004, at 5:15 PM, Longman, Bill wrote:
>> So I checked the YDL HOWTOs and found something on proftpd,
>> which I then
>> discovered seems to be an alternative to vsftpd, already on
>> my machine.
>> So I went in and turned on vsftpd; but I still can't upload -- wrong
>> login, etc.. Is there some other step I need to take? Thanks in
>> advance!
>
> Remember the mantra: STFW STFW STFW
>
> Q) Help! Local users cannot log in. A) There are various possible
> problems.
> A1) By default, vsftpd disables any logins other than anonymous
> logins. Put
> local_enable=YES in your /etc/vsftpd.conf to allow local users to log
> in.
> A2) vsftpd tries to link with PAM. (Run "ldd vsftpd" and look for
> libpam to
> find out whether this has happened or not). If vsftpd links with PAM,
> then
> you will need to have a PAM file installed for the vsftpd service.
> There is
> a sample one for RedHat systems included in the "RedHat" directory -
> put it
> under /etc/pam.d A3) If vsftpd didn't link with PAM, then there are
> various
> possible issues. Is the user's shell in /etc/shells? If you have
> shadowed
> passwords, does your system have a "shadow.h" file in the include
> path? A4)
> If you are not using PAM, then vsftpd will do its own check for a
> valid user
> shell in /etc/shells. You may need to disable this if you use an
> invalid
> shell to disable logins other than FTP logins. Put check_shell=NO in
> your
> /etc/vsftpd.conf.
>
> This lovely little snippet brought to you by one Google search for
> "vsftpd
> faq".
>
> Bill
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
>