0

I have a local server with encrypted partition just for data, which I want to serve through samba server. I want to avoid re-entering password on each server start (e.g. on electricity failure) for partition encryption. Is it possible to use entered samba password as a passphrase for encrypted partition directly after connecting to samba server?

Peter Krejci
  • 123
  • 5

1 Answers1

0

Sadly, I don't think this is possible. I may be wrong. Depending on your host OS, you can have your OS look at a crypt-tab file. Here's a good guide for CentOS: Crypto Disk in CentOS

There's a really cool section in that guide which uses a USB key to boot. Almost like a TPM. ;)

Good luck!