On Mon, 07 Aug 2000, Richard K. Michael wrote: > Hi Everyone, > > I'd like to configure a PAM skey module to use w/ openssh and ftp. > I've tried to figure this out myself, but have come across a fair bit of > information and am left with some questions. > > I'd be very much indebited to someone who can help clear this up for me. > > Here goes.. > > I've found two difference cvs(web) sites for pam.. do most people already know > this? What's the explanation (I couldn't find one) ? The content of the sites > is not identical. > > (1) http://cvsweb.linuxdoc.org/index.cgi/pam > > EG: pam_rhosts_auth.c > > Revision 1.7 , Tue May 16 13:37:32 2000 UTC (2 months, 3 weeks ago) by baggins > Branch: MAIN > CVS Tags: pam-0_72_3, HEAD > Changes since 1.6: +2 -0 lines This stuff I made for our distro (see http://www.pld.org.pl). Linuxdoc is a coincidence as we host their CVS :) > (2) http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/Linux-PAM/?cvsroot=pam > > EG: pam_rhosts_auth.c > > Revision 1.1.1.1 (vendor branch), Tue Jun 20 22:11:56 2000 UTC > (6 weeks, 5 days ago) by agmorgan > Branch: MAIN, Admin > CVS Tags: autoconf-modules, Linux-PAM-0-72-autoconf, Linux-PAM-0-72, HEAD > Changes since 1.1: +0 -0 lines And this is the official PAM repository. > --------- > I'd like to use pam_skey.c module from the linuxdoc site (or something > equivalent from the sourceforge site). > > Can I add that module to stock 6.2 PAM install? If so, how? I've tried just > grabbing the module source and makefile, but also needed all the autoconf and > automake stuff, and the process got messy quite quickly. PAM from PLD may not work "out of the box" with RedHat. IIRC there are some issues with the configs in /etc/pam.d that come with RH. > Should I cvs the latest PAM sources (from one site or the other, whichever's > best)? Where did the pam_skey.c module go? What to use instead w/ the > sourceforge cvs? > > What's more, if I'm going to use the pam_skey.c module, I need skey.h. Which > skey dist contains this header? I've looked at the logdaemon files, the > OpenBSD libskey files w/ Chris Young's debian patches, and the skey rpm from > beowulf (I'd guess the correct skey.h is from the latter); which one should > I use? You will find skey rpms on ftp.pld.org.pl, they have all that is required to compile pam_skey. And if you want there are also binary rpms with pam_skey only (pam-pam_skey-*.rpm). Or you can just grab source rpm, rebuild and see if it works ;) Jan -- Jan Rękorajski | ALL SUSPECTS ARE GUILTY. PERIOD! baggins<at>mimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, type MANIAC | -- TROOPS by Kevin Rubio