Problèmes et questions sur les environnements graphiques et les applications.
Répondre

connexion impossible après ecryptfs /home

#1Messageil y a 4 ans

Bonjour
J'ai voulu chiffrer ma partition /home avec ecryptfs
Tout s'est passé à merveille jusqu'au moment où, par pure stupidité :oops: , 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. 
Du coup, je suis bloqué sur mon écran de connexion qui s'affiche en boucle après chaque tentative...

Merci de votre aide

connexion impossible après ecryptfs /home

#2Messageil y a 4 ans

bonjour,

Tu peux te connecter sur TTY2 en root ou en graphique depuis une iso manjaro
Puis finir l'installation... ?

connexion impossible après ecryptfs /home

#3Messageil y a 4 ans

Bonjour
Oui je parviens à me connecter en root sur TTY2 mais à partir de là je ne sais pas quoi faire puisque l'installation était terminée..

connexion impossible après ecryptfs /home

#4Messageil y a 4 ans

Bonjour .
Relance sudo pacman-mirrors -c France,Germany && sudo pacman -Syyu

connexion impossible après ecryptfs /home

#5Messageil y a 4 ans

fait.
problème subsiste
je crois que le moment est venu pour moi de songer à réinstaller une Manjaro toute neuve toute propre, avec une /home cryptée à l'installation..

connexion impossible après ecryptfs /home

#6Messageil y a 4 ans

Bonjour
J’ai réinstallé une Manjaro, en mode crypté.
La péripétie m’aura appris qu’il faut garder prudence et concentration en toute circonstance !
Je vais continuer à paramétrer ma nouvelle distro toute neuve aujourd’hui....
J’ai au préalable un petit souci de passphrase, que je suis appelé saisir avant le grub, soit en clavier qwerty, avec des symboles pas faciles à trouver 😁
Vu mon précédent pb, j’hésite à aller bricoler pour changer la passphrase !!
Si ça inspire quelqu’un.... je suis preneur néanmoins
Belle journée à tous
Répondre