FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My previous server installation was Fedora4 and I installed vsftpd 2.0.3 and it is working as intended.
Recently I installed Fedora5 and I tried to install vsftpd 2.0.4. After installation, I cannot log in using the local user. However I was able to log in using anonymous. Then I tried to edit /etc/vsftpd.conf by commenting out the anonymous_enabld=YES and restart /etc/init.d/xinetd restart.
I still can log in using "ftp" as anonymous.
I removed the 2.0.4 and reinstalled with vsftpd 2.0.3 on Fedora5.
Same thing. I can't log in with local user while I can log in with "ftp" user.
Forget to add some info.
I have uncommented the line in the vsftpd.conf
local_enable=YES
It is not able to access by local users.
It may be that your vsftpd is linked with PAM. Theres's some info on local users not being able to login at http://www.vsftpdrocks.org/faq/ which might be useful.
I tried reading the FAQ and found possible problem.
I have put the pam service in vsftpd.conf file as mentioned. But when I looked at the /etc/pam.d/vsftp file that I put in, there is a file (pam_pwdb.so) mentioned.
I can't find that file in /lib/security/ directory.
I compared with (Fedora 4) installation, which have. I only have one (Fedora 5) machine installed, so I can't say whether I missed something during my installation.
Is there any way to install / put the file? (I can't use the file on Fedora 4 because the pam versions looks like different.
Does that mean that ldd vsftpd confirmed PAM was being used? If that is the problem, hopefully someone here who is running Redhat/Fedora can advise further since my version doesn't use PAM...
Yes. When I checked ldd, it shows that pam is working.
The only thing found was that the file referred in /etc/pam.d/vsftpd as pam_pwdb.so file is not found in /lib/security/.
I don't know how to get that file.
So, (it may not be good), I just changed inside the /etc/pam.d/vsftp as
account sufficient /lib/security/pam_permit.so
and it works. In fact I do not understand very clearly but just read the documentation and tried.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.