How can I install pam_mount on Centos 6 x86_64?

8,018

Solution 1

I would expect a RHEL6/CentOS6 pam_mount package via EPEL soon.

Until then, you can cherry pick pam_mount and libHX from Fedora 12, as RHEL6 was largely based off of it.

Just grab the packages manually and do a yum install.

I went ahead and did this on one of my RHEL6 boxes, as I'm using pam_mount in a few places:

# yum install pam_mount-2.5-1.fc12.x86_64.rpm libHX-3.6-1.fc12.x86_64.rpm 

I went ahead and configured it, and it works perfectly.

Since CentOS aims for 100% binary compatibility with RHEL, it should work fine on your CentOS6 box too.

Solution 2

The support matrix says: It does not work right now.

http://pam-mount.sourceforge.net/distro-support.php

It seems that you have to wait for a working release. Even installing the compiler toolchain will not help in this case.

Share:
8,018
startoftext
Author by

startoftext

Updated on September 18, 2022

Comments

  • startoftext
    startoftext almost 2 years

    I need to use pam_mount to mount user home directories individually at the time that each user logs in. I cant locate a package for this, at least for Centos 6. I would not have a problem building from source if this was a source based distro but because its not I would need to install gcc and all the dependences, seems like overkill.

  • Chad Feller
    Chad Feller almost 13 years
    The not so fine print from the top of that page: "(This page claims neither completeness nor actuality. It will be updated as I see fit, no need to write me.)"
  • startoftext
    startoftext almost 13 years
    Sweet! I tried to do what you describe but when trying to do the yum localinstall I get an error "warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 57bbccba: NOKEY Public key for pam_mount-2.5-1.fc12.x86_64.rpm is not installed ". Is there a way to install that public key?
  • Chad Feller
    Chad Feller almost 13 years
    just add --nogpgcheck
  • startoftext
    startoftext almost 13 years
    Thanks, I ended up finding that in google. I thought it was going to be more complicated then that.
  • startoftext
    startoftext almost 13 years
    Did you run into any SELinux issues with pam_mount?
  • Chad Feller
    Chad Feller almost 13 years
    no, and I am enforcing. are you seeing issues?