From: Gary W. S. <ga...@pr...> - 2006-07-28 02:41:46
|
Add it to the query with some type of control. We use a custom query for both pam-mysql and nss-mysql. From there you can fine tune as much as you can, assuming know sql (including the join statement). Hope that helps. > -----Original Message----- > From: pam...@li... [mailto:pam-mysql- > gen...@li...] On Behalf Of avasquez > Sent: Thursday, July 27, 2006 7:26 PM > To: pam...@li... > Subject: [Pam-mysql-general] ssh in from allowed times >=20 > I've created a user using NSS, setup along with pam_mysql. The user is > allowed to ssh into the computer after it's checked through the sshd > PAM file. Everything works perfect. I was wondering though if their > was a I can allow that user to only login through a certin time frame. > I have a table in mysql database that has time stamps. I would like > pam_mysql to read those times to see if the user is allowed to login. > Can this be done with pam_mysql? >=20 > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > Pam-mysql-general mailing list > Pam...@li... > https://lists.sourceforge.net/lists/listinfo/pam-mysql-general |