Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've partitioned by Linux install to have separate / and /home partitions. In this instance, while installing Ubuntu 12.10, I accidentally created a new profile as /home. Thus, in the home folder on my system I have two different profiles. One is the one I always use and the other is new.

Is there any way to remove the profile I just made and have Ubuntu recognize my old profile as home?

This screen-shot should explain it all: http://ubuntuone.com/4yuZ24QnGBph2KSgvwbXG2
SU535933 example

share|improve this question
    
So your current user id is dre with home directory /home/dre and you want user id andre with home directory /home/andre? –  parkydr Jan 14 '13 at 11:50
    
Precisely @parkydr –  Andre Jan 16 '13 at 3:03

1 Answer 1

All you need to do is create a new user with the correct name and then log in as that user. You can either do this the GUI way through the system menus, or:

sudo useradd -UG sudo -p YOUR_PASSWORD andre 

Then log out and log back in as "andre".

share|improve this answer
    
Thank you! Trying it now. –  Andre Jan 16 '13 at 2:24
    
Thank you for the follow-up. For some reason, creating a new account by GUI put me in a logout loop. I'll try the command line way. Thanks again. –  Andre Jan 16 '13 at 2:40
    
Thank you for all your help. Your original syntax was correct. It was 'sudo' not 'sudoers'. The account has been created but when I try to log in it says I have the wrong password. I feel close, am I doing something that is obviously wrong? –  Andre Jan 16 '13 at 3:19
    
Umm, the password is whatever you wrote instead of YOUR_PASSWORD in the command. –  terdon Jan 16 '13 at 11:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.