LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-06-2005, 08:07 AM   #1
Sern
Member
 
Registered: May 2005
Location: New York
Distribution: Fedora Core 3
Posts: 57

Rep: Reputation: 15
pam_mysql + sshd


I've been trying to get this to work for days now, i am trying to authenticate sshd users through mysql using pam_mysql but i can't figure out what i am doing wrong =(. This is the sshd file from pamd.

Code:
#%PAM-1.0
auth       required     pam_nologin.so

auth       optional     pam_mysql.so user=tdatech passwd=pass db=tdatech table=Users usercolumn=Username passwdcolumn=Password crypt=md5 verbose=1 sqllog=yes
auth       sufficient   pam_stack.so service=system-auth

account    sufficient   pam_mysql.so user=tdatech passwd=pass db=tdatech table=Users usercolumn=Username passwdcolumn=Password crypt=md5 verbose=1 sqllog=yes
account    sufficient   pam_stack.so service=system-auth

session    required     pam_stack.so service=system-auth
 
Old 12-06-2005, 09:17 AM   #2
Sern
Member
 
Registered: May 2005
Location: New York
Distribution: Fedora Core 3
Posts: 57

Original Poster
Rep: Reputation: 15
oh also another thing, how do i check if pam_mysql is properly installed and working?
 
  


Reply



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
pam_mysql problem lokop Linux - Software 1 01-30-2005 02:28 AM
pam_mysql & Vsftp dominant Linux - Newbie 1 11-23-2004 01:36 AM
pam_mysql usage for vsftpd ylkien Linux - Newbie 0 06-14-2004 01:55 PM
pam_mysql authenticates NOUSER cliffb53 Linux - Security 0 01-04-2004 12:47 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 12:17 PM

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

All times are GMT -5. The time now is 05:00 AM.

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