Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 474  / 3 Years ago, tue, september 21, 2021, 4:09:22

I recently upgraded my ubuntu 11.04 to 11.10, but while playing around trying to restore the GNOME classic (I really don't like the unity), I screwed something up. Ubuntu did not came back after restarting... I was stuck.



So I burned an installation CD and reinstalled Ubuntu (upgrade from 11.10 to 11.10) so the data was saved. However, I used a different username on installation by mistake, and now I've got two home folders: /home/new_user/ and /home/old_user/.



The old_user is not registered as a user (it's not listed in the LightDM login screen), and I really just need one user, with my old data and configuration.



So: is there a quick way to fix it? As in, get my old_user to be the only user with all my settings back?



Thank you.


More From » 11.10

 Answers
0

The best option would be indeed to turn the new user into the old user.



Have a look at the /etc/passwd file:



new_user:x:1000:1000:New User,,,:/home/new_user:/bin/bash


Edit this line only as root to:



old_user:x:1000:1000:Old User,,,:/home/old_user:/bin/bash


Then reset the old users password: passwd old_user as root.


[#42531] Tuesday, September 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rialhirt

Total Points: 422
Total Questions: 113
Total Answers: 120

Location: France
Member since Sun, May 15, 2022
2 Years ago
rialhirt questions
Mon, May 24, 21, 18:24, 3 Years ago
Tue, May 10, 22, 21:43, 2 Years ago
Thu, Feb 16, 23, 16:32, 1 Year ago
Mon, Jun 13, 22, 03:02, 2 Years ago
;