Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .