trueten.de

"Wie gesagt, das Leben muss noch vor dem Tode erledigt werden." Erich Kästner

Restoring von verschlüsselten /home Verzeichnissen

Aus dem xandrOS Forum:

Hello All,
i've just restored a Backup of my xandros homedirectory, /etc/passwd /etc/shadow etc... but can't access it, because the directory canout be mounted. ("passwd out of sync...", "user expired" etc.). I've also restored the /home/.usr_keys etc.

Any hints?


(...)
1. Restore all files in /home
2. Edit /etc/security/pam_mount.conf an add all from /home/.username.pam_mount.conf.bak to the end of this file:

Here an example with the user "xandros"

# /etc/security/pam_mount.conf
(...)
#
volume xandros crypt - /home/.xandros.fs /home/xandros cipher=aes,keysize=256,loop aes-256-cbc /home/.xandros.key

Trackbacks

Trackback specific URI for this entryTrackback URL

Comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
BBCode format allowed