Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I am running vsftpd (2.0.1 rel 5) on Fedora Core 3 and trying to setup PAM (0.77 rel 66.2) to provide virtual user authentication.
I have tried generating the db file using Berkeley DB version 3.x and 4.x
when I try to log into the ftp server I get the request to enter a username and password. what every account I try to log in as I get a 530 login incorrect.
I have looked at the /var/messages file and this shows the following error.
messages file
==========
Feb 6 12:02:29 server vsftpd(pam_unix)[15522]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=192.168.103.1 user=user1
Feb 6 12:02:29 server pam_userdb[15522]: user_lookup: could not open database `/etc/vsftpd_logins.db'
Help us - we're melting!
I got the same thing too. thanks
Connecting to 192.168.1.254:21
Connected to 192.168.1.254:21 in 0.000000 seconds, Waiting for Server Response
220 (vsFTPd 2.0.5)
Host type (1): Automatic Detect
USER Ninja
530 Permission denied.
USER Ninja
530 Permission denied
Turns out pam_user_db automatically appends ".db" to the filename that's given to the module as the "db" argument. If you name your database "/foo/bar/blah.db", put "/foo/bar/blah" as the module argument, and it should work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.