LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2009, 08:52 AM   #1
cknorr
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
How to make my linux database use linux login/password info


We have a relational database that runs on linux. We are facing PCI requirements that will require a lot of work to beef up our user credential handling. (Strong passwords, password history list, etc.)

It seems like it might be a better idea to just hook in to linux for our user credential handling. Lots of nice benefits here!

Can someone give a pointer as to what the best way to go with this would be? I imagine this has been done a lot but it's the kind of topic that's a little hard to 'google', etc.!

Much thanks,

Chris
 
Old 06-18-2009, 08:16 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434

Rep: Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790
Well, one way is to create db logins that are Linux logins, so you leverage all the powers of pam, /etc/shadow and so on and the session goes straight into the DB if they login ok to Linux.
Also means you can use LDAP, Kerberos, smartcards etc etc.
 
Old 09-02-2009, 01:21 PM   #3
cknorr
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
PAM is the way to go

Just to close the loop on this, the Pluggable Authentication Module (PAM) seems the way to go on this. We've been able to modify our database to use PAM to perform user authentication and change passwords.

If anyone ever needs some help on this (code examples and what-not) feel free to contact me.

regards,

Chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux shell - extract filename from and song info from text database d003 Programming 1 07-23-2003 04:06 AM
Linux last login info Hacker Linux - Security 6 07-18-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration