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?
Asked
Active
Viewed 98 times
0
-
You can do this, but it were a much worse solution as your current version. – peterh Dec 12 '14 at 14:04
1 Answers
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!