I found many guides on how to mount a NAS drive via
fstab
. Quite some enter username and password right into the fstab file, others use a file .smbcredentials
for that.
I'd like to manage all my credentials with KeePassXC or some other portable database. Is there a way to tell the fstab
fetching the username and password from such credential manager?
My probably-a-lot-of-work-around idea was, to use some kind of [scriptfs
](https://github.com/frodonh/scriptfs) (_this one seems unmaintained, but maybe there is a modern alternative_) to create a virtual filesystem, exposing a virtual file as proxy between the password store and the fstab (.smbcredentials). So any hints in this direction may be appreciated, if no simpler solution is available.
Asked by derM
(101 rep)
Jan 20, 2025, 01:07 PM
Last activity: Jan 28, 2025, 11:05 PM
Last activity: Jan 28, 2025, 11:05 PM