LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-12-2014, 02:29 PM   #1
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142

Rep: Reputation: 15
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.

Thanks
 
Old 03-12-2014, 05:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by mazzo View Post

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
 
Old 03-12-2014, 06:44 PM   #3
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142

Original Poster
Rep: Reputation: 15
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.

Thanks again
 
Old 03-13-2014, 11:35 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by mazzo View Post
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.

-----------------------
Steve Stites
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CD/DVD drive not accessible Madnoys Ubuntu 7 06-14-2011 12:47 AM
LXer: Syncronized Folders across Windows and Linux - Free Encrypted Cross-Platform Synchronisation w LXer Syndicated Linux News 0 08-16-2010 10:50 AM
CD/DVD seen, but not accessible ncsailor Linux - Software 1 07-26-2010 06:05 PM
Upgraded kile cannot find previously accessible documentation on Tex/Latex raespinosa2000 Linux - Software 3 04-10-2009 09:24 PM
read encrypted dvd - usb dvd drive wastingtime Linux - Hardware 8 12-26-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration