Wednesday, February 16, 2022

[SOLVED] fscrypt - running a script inside encrypted folder on startup

Issue

I am using fscrypt with pam_passphrase on a folder. I want to:

  1. Run a script inside the encrypted folder, with the user that owns the folder.
  2. Start this script automatically after booting.

Is this possible without logging in with the user users password?

Thanks for any help.


Solution

I could not find a way to do this using the users password, so I ended up using the "raw_key" protector.



Answered By - OMA
Answer Checked By - Pedro (WPSolving Volunteer)