Results 1 to 3 of 3

Thread: Changing user id for root

Hybrid View

  1. #1
    Join Date
    May 2007
    Beans
    2

    Red face Changing user id for root

    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

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Changing user id for root

    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:
    Code:
    usermod -u 1000 username
    replace 1000 with the user id and username with your login name.
    type:
    Code:
    exit
    and choose to resume a normal boot.

  3. #3
    Join Date
    May 2007
    Beans
    2

    Re: Changing user id for root

    Hi Again
    When I use recovery mode I cant get any menu even when I press the Escape button!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •