Ci-dessous, les différences entre deux révisions de la page.
linux:ecrypt [17-03-2025 23:36] edmc73 créée |
linux:ecrypt [25-03-2025 21:13] (Version actuelle) edmc73 |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== ecrypt ====== | ====== ecrypt ====== | ||
+ | |||
+ | |||
+ | ===== debian / ubuntu ===== | ||
https:// | https:// | ||
+ | |||
+ | sudo apt-get install ecryptfs-utils | ||
+ | |||
+ | se logguer sous un autre utilisateur | ||
+ | sudo ecryptfs-migrate-home –u “username” | ||
+ | |||
+ | se logguer avec le compte encrypté et taper | ||
+ | ecryptfs-add-passphrase | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Fedora ===== | ||
+ | |||
+ | sudo dnf install ecryptfs-utils | ||
+ | sudo authselect enable-feature with-ecryptfs | ||
+ | |||
+ | se logguer sous un autre utilisateur | ||
+ | sudo usermod -aG ecryptfs " | ||
+ | sudo ecryptfs-migrate-home –u “username” | ||
+ | |||
+ | < | ||
+ | |||
+ | Enter your login passphrase [username]: | ||
+ | |||
+ | ************************************************************************ | ||
+ | YOU SHOULD RECORD YOUR MOUNT PASSPHRASE AND STORE IT IN A SAFE LOCATION. | ||
+ | ecryptfs-unwrap-passphrase ~/ | ||
+ | THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME. | ||
+ | ************************************************************************ | ||
+ | |||
+ | egrep: warning: egrep is obsolescent; | ||
+ | / | ||
+ | / | ||
+ | |||
+ | Done configuring. | ||
+ | |||
+ | ======================================================================== | ||
+ | Some Important Notes! | ||
+ | |||
+ | 1. The file encryption appears to have completed successfully, | ||
+ | manu MUST LOGIN IMMEDIATELY, | ||
+ | TO COMPLETE THE MIGRATION!!! | ||
+ | |||
+ | 2. If manu can log in and read and write their files, then the migration is complete, | ||
+ | and you should remove / | ||
+ | Otherwise, restore / | ||
+ | |||
+ | 3. manu should also run ' | ||
+ | their randomly generated mount passphrase as soon as possible. | ||
+ | |||
+ | 4. To ensure the integrity of all encrypted data on this system, you | ||
+ | should also encrypt swap space with ' | ||
+ | ======================================================================== | ||
+ | |||
+ | |||
+ | </ | ||