connexion impossible après ecryptfs /home
Publié : 19 aou 2019, 10:15
Bonjour
J'ai voulu chiffrer ma partition /home avec ecryptfs
Tout s'est passé à merveille jusqu'au moment où, par pure stupidité , j'ai interrompu la fin du process en rebootant alors qu'il fallait que je me logue avant !
Ci-dessous extrait de https://wiki.archlinux.org/index.php/EC ... _directory:
Du coup, je suis bloqué sur mon écran de connexion qui s'affiche en boucle après chaque tentative...
Merci de votre aide
J'ai voulu chiffrer ma partition /home avec ecryptfs
Tout s'est passé à merveille jusqu'au moment où, par pure stupidité , j'ai interrompu la fin du process en rebootant alors qu'il fallait que je me logue avant !
Ci-dessous extrait de https://wiki.archlinux.org/index.php/EC ... _directory:
Encrypting a home directory
The wrapper script ecryptfs-migrate-home will set up an encrypted home directory for a user and take care of migrating any existing files they have in their not yet encrypted home directory.
To run it, the user in question must be logged out and own no processes. The best way to achieve this is to log the user out, log into a console as the root user, and check that ps -U username returns no output. You also need to ensure that you have rsync and lsof installed. Once the prerequisites have been met, run:
# modprobe ecryptfs
# ecryptfs-migrate-home -u username
and follow the instructions. After the wrapper script is complete, follow the instructions for auto-mounting - see #Auto-mounting below. [u]It is imperative that the user logs in before the next reboot, to complete the process[/u].
Once everything is working, the unencrypted backup of the users home directory, which is saved to /home/username.random_characters, can and should be deleted.
Merci de votre aide