Find the answer to your Linux question:
Results 1 to 6 of 6
I forgot to assign the root password and to add my account to the sudoers in the installation process, how can I fix it? thanks a lot!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    cpc
    cpc is offline
    Just Joined!
    Join Date
    Apr 2009
    Posts
    13

    [SOLVED] password problem


    I forgot to assign the root password and to add my account to the sudoers in the installation process, how can I fix it?

    thanks a lot!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Boot up in Single User Mode and execute passwd command to set new root password.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Welcome to forums !
    Just.
    Boot into runlevel 1.
    you will direct root access.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  4. $spacer_open
    $spacer_close
  5. #4
    cpc
    cpc is offline
    Just Joined!
    Join Date
    Apr 2009
    Posts
    13
    Quote Originally Posted by devils casper View Post
    ...Boot up in Single User Mode...
    Thanks for reply, but how to boot up in Single User Mode? there is no such option in the grub menu.

  6. #5
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    when u get grub menu hit "e"
    put "single" on line like this
    kernel /vmlinuz26 root=/dev/disk/by-uuid/166e636f-36ad-4027-9531-a75e3924b545 ro
    e.g.
    kernel /vmlinuz26 root=/dev/disk/by-uuid/166e636f-36ad-4027-9531-a75e3924b545 ro single
    Hit enter then hit "b"
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  7. #6
    cpc
    cpc is offline
    Just Joined!
    Join Date
    Apr 2009
    Posts
    13
    b2bwild,

    Thanks a lot! the problem is solved.

Posting Permissions

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