<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FPAM_and_htpasswd</id>
	<title>Linux/PAM and htpasswd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FPAM_and_htpasswd"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/PAM_and_htpasswd&amp;action=history"/>
	<updated>2026-05-09T07:01:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/PAM_and_htpasswd&amp;diff=509&amp;oldid=prev</id>
		<title>Kenneth: Kenneth moved page Linux PAM and htpasswd to Linux/PAM and htpasswd</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/PAM_and_htpasswd&amp;diff=509&amp;oldid=prev"/>
		<updated>2014-07-24T04:54:25Z</updated>

		<summary type="html">&lt;p&gt;Kenneth moved page &lt;a href=&quot;/Linux_PAM_and_htpasswd&quot; class=&quot;mw-redirect&quot; title=&quot;Linux PAM and htpasswd&quot;&gt;Linux PAM and htpasswd&lt;/a&gt; to &lt;a href=&quot;/Linux/PAM_and_htpasswd&quot; title=&quot;Linux/PAM and htpasswd&quot;&gt;Linux/PAM and htpasswd&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[https://www.centos.org/modules/newbb/viewtopic.php?post_id=99942&amp;amp;topic_id=21232 www.centos.org - Forums - CentOS 5 - Application &amp;amp; Software Support - Does anyone know of an existing pam_pwdfile RPM for Centos 5.2?]:&lt;br /&gt;
&lt;br /&gt;
For those of you who have to remain on centos 5.2 for whatever reason ( i.e. don&amp;#039;t have the option to upgrade to 5.4 or 5.3 )&lt;br /&gt;
here&amp;#039;s how i managed to build pam_pwdfile on 5.2:&lt;br /&gt;
&lt;br /&gt;
Build using PAM 0.77 source and pam_pwdfile-0.99.tar.gz , following the excellent instructions at http://www.productionmonkeys.net/guides/ftp-server/vsftpd&lt;br /&gt;
&lt;br /&gt;
here&amp;#039;s the relevant bits from the above URL :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.77.tar.bz2&lt;br /&gt;
bunzip2 -c Linux-PAM-0.77.tar.bz2 | tar -xvf -&lt;br /&gt;
cd Linux-PAM-0.77/modules&lt;br /&gt;
wget http://cpbotha.net/files/pam_pwdfile/pam_pwdfile-0.99.tar.gz&lt;br /&gt;
tar zxvf pam_pwdfile-0.99.tar.gz&lt;br /&gt;
cd ..&lt;br /&gt;
rm default.defs&lt;br /&gt;
ln -s defs/redhat.defs default.defs&lt;br /&gt;
make all&lt;br /&gt;
cp modules/pam_pwdfile-0.99/pam_pwdfile.so /lib/security (or /lib64/security )&lt;br /&gt;
&lt;br /&gt;
N.B. One extra step was needed before the &amp;quot;make all&amp;quot; when building on x86_64 :&lt;br /&gt;
add -fPIC to configure.in so it now reads :&lt;br /&gt;
case $OS in&lt;br /&gt;
linux) OS_CFLAGS=”-ansi … -pedantic -fPIC”&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hope that helps someone else avoid the 5+ hours i spent on this &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://www.productionmonkeys.net/guides/ftp-server/vsftpd vsftpd | Production Monkeys]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>