ssh and PAM

From: Lyn Amery (lyn.amery@diversit.com.au)
Date: Thu Mar 27 2008 - 19:19:59 EST


Hi all,

I'm using openssh, PAM and pam_mysql to authenticate users via a MySQL
database. The auth is working to MySQL, but I'd like system users -
like
root - to authenticate as before, via normal Unix pasword. How can I
set up
the pam.conf file to try both ways?

At the moment pam.conf looks kinda like this:

sshd auth required pam_mysql.so user=root passwd= password \
     db=database_name table=members user column=user \
     passwdcolumn=password

Am I wrong in thinking PAM should be able to cascade through a set of
options until it reaches a method that suits? I've read the PAM
documentation
from Sun, but find it rather confusing.

Cheers,
Lyn

lyn at diversit.com.au

Lyn Amery
DiversIT Pty Ltd Telephone : (08) 9427 4000
                                        Email : lyn@diversit.com.au
Unit 1 / 28 John St Web : http://www.diversit.com.au
Northbridge WA 6003
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:53 EDT