My system has separated /home
partition which is encrypted. I did a fresh install with a new temporary user
. Now, I want to add old_user back with existing encrypted home. Is it possible?
-
What do you mean "encrypted"? as in hash key? or permissions?– Jack MayerzMay 6, 2013 at 9:14
-
I mean EncryptedHome– Lữ Tấn HoàMay 6, 2013 at 9:31
Add a comment
|
1 Answer
I don't know about encryption but to add a new user to an existent home, you can easily do it by running adduser --home [Dir] --shell /bin/bash --uid [number] [username]
You could try running it to see if it works, make sure --uid
isn't 1000 or any of the existent user list. Maybe you can read man adduser
to find out more about encryption for home.
-
I had tried that way, of course, but it does not work. All data are encrypted. May 6, 2013 at 9:33
-
Did you read the part "n the Ubuntu 9.10 setup, the user's encrypted data is located in /home/.ecryptfs/$USER/.Private, and the user's configuration data is located in /home/.ecryptfs/$USER/.ecryptfs. As such, all of the user's pertinent data is self-contained in /home."? Try accessing the config for the cryptographic hash, and then import it to the new user. May 6, 2013 at 23:51