Upgraded via DVD - user folders (encrypted) not accessible
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142
Rep:
Upgraded via DVD - user folders (encrypted) not accessible
I am stuck and have tried reading up about solutions. Tried one or two but m concerned I may inadvertently do damage.
I upgraded a 10.04 to 12.04 64bit this afternoon. I selected the upgrade option and created a different username to the one I normally use (I thought this was sensible in case it overwrote my home folder)
I can log in and the system is fine but the four other users are not there. My old home folder and the other 4 are there with the usual encrypted folder message.
I recreated one of the users with the same username and password, however they cannot get into their folder either through Gnome or even by login in via terminal.
Any help on how to get these folders back will be gratefully received. I do not have the encryption keys for some of them because I didn't think I needed it if it was an upgrade. I am now kicking myself for not copying files first.
I recreated one of the users with the same username and password, however they cannot get into their folder either through Gnome or even by login in via terminal.
User names are assigned a number when you create them. The user name in the file metadata is actually a user number. User numbers are assigned in the order that you create them. On your revised system the new user name has the first number and the rest of the users you created will have higher numbers than they had on the old system. You are having login problems and file ownership problems because of mismatched user names and numbers. You need to back up your data, delete all of your users, and recreate the users in the same order that you did it on the old system.
Or you could log in as root and issue chown commands for all of the files, but I don't know if encryption will get in your way if you try that.
--------------------------
Steve Stites
Last edited by jailbait; 03-12-2014 at 05:24 PM.
Reason: typo
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142
Original Poster
Rep:
Thank you! You are a star.
I have got back all but one account. Namely the first one because for some reason I cannot delete the account I set up when I upgraded. Have made root active and triedto delete using root rather than a sudo but it still won't.
I will hunt around for an answer to that - but 3 out of 4 recovered is a great start.
for some reason I cannot delete the account I set up when I upgraded.
That may be because your distribution makes the first user account into the supervisor account and the system resists deleting the supervisor account. See if root can change the first user account into an ordinary account with no root privileges and then delete it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.