Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Vsftpd & mysql authentication with Pam

Posted on 2007-10-09
5
Medium Priority
?
2,518 Views
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

Curt
0
Comment
Question by:thechase22
  • 3
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
xDamox earned 1500 total points
ID: 20039509
Hi,

Have a read of

http://lists.centos.org/pipermail/centos/2005-August/050031.html

It looks like you will need pam_mysql
0
 
LVL 16

Assisted Solution

by:xDamox
xDamox earned 1500 total points
ID: 20039535
0
 
LVL 1

Author Comment

by:thechase22
ID: 20039593
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
0
 
LVL 1

Author Comment

by:thechase22
ID: 20049464
Any more contenders want to help me ?
0
 
LVL 1

Author Closing Comment

by:thechase22
ID: 31408088
Closing off this question, thanks for your inputs.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

580 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