Page MenuHomeSolus

Closed, WontfixPublic


Name: pam_mount
License: GPLv2

Used to automatically mount file systems when a user logs in and unmount at logoff. Can be used for encrypted home drives and mounting smb shares.

Event Timeline

joekenny created this task.Sep 4 2017, 6:10 PM

libHX is a dependency for pam_mount that isn't currently packaged in solus either.

Name: libHX
License: GPL

A library providing queue, tree, I/O and utility functions.

What does this do that can't be done with autofs?

I personally use it to automount smb shares at login. pam_mount let's you mount a share using the same credentials that were used to login to your session. It doesn't require maintaining a credentials file for each user. I haven't found a way to replicate that functionaltiy with autofs.

ermo added a subscriber: ermo.EditedMay 5 2018, 8:49 AM

Oooh, I like the idea of re-using credentials for smb mounts without having to store my smb credentials in plain text somewhere.

If at all possible, I'd like to see this accepted for inclusion please, as this seems like the rare feature where for once security and convenience are not at odds.

@joekenny: Great find mate! \o/

DataDrake triaged this task as Low priority.Jul 29 2018, 11:42 AM
DataDrake moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
ermo claimed this task.EditedAug 13 2018, 2:30 PM

I'm currently testing a local package for this and intend to use and maintain it myself once I feel it's ready for public consumption.

JoshStrobl closed this task as Wontfix.Oct 5 2018, 2:15 PM
JoshStrobl added a subscriber: JoshStrobl.

As this task has been marked Needs Maintainer for over a month with nobody having stepped up to become maintainer, in addition to providing an acceptable patch for inclusion, marking as WONTFIX. Feel free to re-open when a patch has been submitted via the proper processes.

palto42 added a subscriber: palto42.Dec 8 2019, 3:05 PM

I was also looking for pam_mout support to automatically decrypt and mount a gocryptfs folder.

Since pam_mount is not supported in Solus, I'm now using the Gnome keyring tool secret-tool to store the password and automatically pass it to gocryptfs. It's not the same as using pam_mount, but at least for me a good alternative and quite easy to use. It allows me to automatically mount my encrypted folder at login.

gocryptfs --extpass="secret-tool lookup gocryptfs cipher" cipher plain

See also for usage in scripts.