Article 6D21V Automounting bitlocked drives on boot or login

Automounting bitlocked drives on boot or login

by
IamtheSenate
from LinuxQuestions.org on (#6D21V)
Hi all,

Just to provide some background context I'm a Computing teacher in a college (the UK kind) and use a memory stick as my main file source, I tend to produce class documents and slides at home on my Fedora 38 PC or Linux Mint laptop and take these into work. The issue I'm having is that I also edit the same set of files at work, my employer has a Windows network and only allows edit rights to bitlocked drives so my USB is bitlocked; this isn't a problem as cryptsetup allows me to use the USB at home and on my work windows machine (which I have no superuser control over).

I want to be able to use rsync to automatically backup my USB to my PC (which rsyncs with a NAS) as a backup tool otherwise I have three sets of files (work machine, USB and my PC) with a Bash script.

Does anyone know of a way I can automount the USB without needing to manually unlock it everytime I login into my home machine please? I've set it to remember the password in the keychain however it is not mounted until I manually click on it. I've got no problem using dislocker or cryptsetup, my ideal world solution is a script that will be triggered when the USB is inserted and the files sync automatically with my home partition, automounting is the barrier here.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments