Don’t use pam_mount

It implements rather good idea: mounting volumes in a per-user fashion when the user is first authenticated, which is a Good Thing™ e.g. for encrypted home volumes. But do not use pam_mount, it breaks things horribly whenever PAM (which is used for authenticating users) is updated. Just don’t. And it also makes “sudo” unusable 😦

Free advice: If you definitely know that you do need it, keep always a fresh copy of your PAM configuration, the one before installing it. You may need it in order to boot single-user and restore the default configuration just in case something got broken. Fortunately I decided to version-control with Bzr my configuration files time ago…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s