Skip to content

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

No Trackbacks

Comments

Display comments as Linear | Threaded

No 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.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
BBCode format allowed
Form options
cronjob