Building pam_mount on CentOS 5 (RHEL)
October 13th, 2008 by robg
huh? I can’t seem to find pam_mount for CentOS 5. RPMForge seems to have the build logs for it, but yum can’t see the rpm to install and neither can I.
Pretty simple to fix, a bit lazy, but it will only take you 5 minutes.
Grab the rpm sources for libHX and pam_mount from your local Fedora 9 mirror. I got mine from here:
http://mirror.aarnet.edu.au/pub/fedora/linux/updates/9/SRPMS/pam_mount-0.41-2.fc9.src.rpm
http://mirror.aarnet.edu.au/pub/fedora/linux/updates/9/SRPMS/libHX-1.18-1.fc9.src.rpm
Build the libHX source:
# rpmbuild --rebuild libHX-1.18-1.fc9.src.rpm
Install the libHX rpm and the libHX-devel rpm. Now build pam_mount the same way:
# rpmbuild --rebuild pam_mount-0.41-2.fc9.src.rpm
Use “yum localinstall” to install pam_mount as it probably needs to grab a perl XML module as well.
Posted in Uncategorized
December 26th, 2010 at 10:50 pm
[...] 转载自http://blog.sumostyle.net/robg/2008/10/13/building-pam_mount-on-centos-5-rhel/ [...]
April 11th, 2011 at 9:05 pm
Have you tested this on x86_64 ?