Other Opening encrypted filesystem at login?

Hello.

I'd like to migrate from Linux to FreeBSD. My Linux distro has a quite convenient way of opening an ecryptfs file system at login when the correct password has been typed, and closing the file system when logging out. It works with both local and remote ssh logins.

Can FreeBSD have this kind of functionality on an encrypted file system? I guess ecryptfs on linux works by storing the file system's encryption key on disk, encrypted with the user's password, and having the login program launch a procedure using the password to decrypt the stored key and mount the file system.
 
The ZFS filesystem supports full file system encryption.
Although I'm not sure, if you can unlock it from SSH, because without the password, the operating system doesn't even boots up.
 
Hello.

I'd like to migrate from Linux to FreeBSD. My Linux distro has a quite convenient way of opening an ecryptfs file system at login when the correct password has been typed, and closing the file system when logging out. It works with both local and remote ssh logins.

Can FreeBSD have this kind of functionality on an encrypted file system?

PEFS maybe?
http://www.bsdnow.tv/tutorials/pefs
http://www.bsdnow.tv/episodes/2014_03_19-pefs

Code:
[...]PEFS also comes bundled with a PAM module, allowing for entire home directories to be encrypted and decrypted based upon the user logging into the system, which can be very beneficial to multi-user workstations[...]
 
Back
Top