Vsftpd & mysql authentication with Pam

Posted on 2007-10-09
Last Modified: 2013-12-16
Hey guys

for a while I have been using vsftpd, I have users locked to their chroot, I have been using a system using db_42, which has a db file and a text file with all the users and passwords.

When I have a new user, I just wack it into the text file, and then recompile the database, I know its a bit shoddy, buts its the only t hing that I have ever got working for authentication with vsftpd.

I read a recent article on how to authenticate with mysql and pam, I think im 80% there but its not working ok.

I was wondering if anyone successfully managed to get it working and maybe help me with some direction?

Thanks ever so much

Question by:thechase22
    LVL 16

    Accepted Solution


    Have a read of

    It looks like you will need pam_mysql
    LVL 16

    Assisted Solution

    LVL 1

    Author Comment

    Hey thanks for the info

    I should have mentioned im using pam_mysql.

    And I think the 2nd article you mentioned, thats the original I have been working on.

    I will look at your first recommendation, but I have no idea to check if pam_mysql is talking with mysql, I cant investigate where its stopping.

    Ill get back after I read the first article, thanks for your fast reply
    LVL 1

    Author Comment

    Any more contenders want to help me ?
    LVL 1

    Author Closing Comment

    Closing off this question, thanks for your inputs.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Wish Marketing would stop bothering you?

    Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

    Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now