Outils pour utilisateurs

Outils du site


linux:ecrypt (lu 2804 fois)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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://www.makeuseof.com/tag/encrypt-home-folder-ubuntu-installation-linux/ https://www.makeuseof.com/tag/encrypt-home-folder-ubuntu-installation-linux/
 +
 +  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 "username"
 +  sudo ecryptfs-migrate-home –u “username”
 +
 +<code>
 +
 +Enter your login passphrase [username]: 
 +
 +************************************************************************
 +YOU SHOULD RECORD YOUR MOUNT PASSPHRASE AND STORE IT IN A SAFE LOCATION.
 +  ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase
 +THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME.
 +************************************************************************
 +
 +egrep: warning: egrep is obsolescent; using grep -E
 +/usr/sbin/restorecon
 +/usr/sbin/restorecon
 +
 +Done configuring.
 +
 +========================================================================
 +Some Important Notes!
 +
 + 1. The file encryption appears to have completed successfully, however,
 +    manu MUST LOGIN IMMEDIATELY, _BEFORE_THE_NEXT_REBOOT_,
 +    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 /home/manu.eq8h7tTZ.
 +    Otherwise, restore /home/username.eq8h7tTZ back to /home/username.
 +
 + 3. manu should also run 'ecryptfs-unwrap-passphrase' and record
 +    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 'ecryptfs-setup-swap'.
 +========================================================================
 +
 +
 +</code>
  
  
linux/ecrypt.txt · Dernière modification: 25-03-2025 21:13 de edmc73