Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    forgot root password


    Hi all,
    i am a new user.this is my first letter,
    my problem is i forgot my root pass word.i have another user in my system.i loged in using that account.i try tochange my root password by enter in single user mode.its ok.no problem till.but when i reboot system and login as root,i cant enter.and i cant configure my system to LAN because of this problem(dnt know root paswd).how can i solve this problem.but when i change the the user passwd (not root) nothig wrong.it change.but cant change root password.

  2. #2
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,732
    Welcome to the forums!

    Here's a HowTo for resetting the root password that should get you up and running again:

    http://www.linuxforums.org/forum/lin...-password.html
    oz

  3. #3
    friend the problem is that i enter in single user mod and change the password using "passwd" command.But when i reboot the system the logon screen appear.the user name(my name ) is listed left side.i change the user name and type try to enter as "root". but message appear fail to login.

  4. $spacer_open
    $spacer_close
  5. #4
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,732
    Did you try the alternate method?
    oz

  6. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,547
    Are you trying to login to the gui as root?
    This is normally disabled by default.
    There is a file that you can edit, I will see if I can find it if it important.
    Pick up a starving dog, prosper him, and he won't bite you.
    This is the main difference between men and dogs.

    New users read The FAQ

  7. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,547
    Pick up a starving dog, prosper him, and he won't bite you.
    This is the main difference between men and dogs.

    New users read The FAQ

  8. #7
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,732
    Quote Originally Posted by budman7 View Post
    Are you trying to login to the gui as root?
    This is normally disabled by default.
    If that's what you are trying to do, I agree totally with budman7 and think you should leave the root account disabled.

    The biggest mistake you can make in Linux is to create a really bad habit of logging in as the root user. I've not logged in as root user for at least the last 4 years now, and have not needed to do so. You can take care of administrative tasks by simply su'ing to root.

    See man su.
    oz

  9. #8
    easy in the console window type in su super user which makes you a root for a short time than type in passwd root and type in 2 times.

Posting Permissions

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