PDA

View Full Version : [ubuntu] Changing user id for root



Flatbed
October 15th, 2009, 02:01 PM
Hi guys
I recently changed my user id from user to Root and now can't sign in to the ubantu system as it does not allow this.
How can I retrieve this so that I can sign in?
Please don't be too technical as I'm new to this and realise now that I did the wrong operation.

Hope you can help

Flatbed

sisco311
October 15th, 2009, 02:12 PM
Reboot the computer and select Recovery Mode from the grub menu.

You may have to press the Escape key during bootup in order to see the menu.

Wait for all the boot-up processes to finish.

Select Drop to root shell prompt option from the Recovery Mode menu.

Change your uid:

usermod -u 1000 username
replace 1000 with the user id and username with your login name.
type:

exit
and choose to resume a normal boot.

Flatbed
October 16th, 2009, 11:01 AM
Hi Again
When I use recovery mode I cant get any menu even when I press the Escape button!