Find the answer to your Linux question:
Results 1 to 5 of 5
Hello all, I had installed Debian in another partition of my system a few years ago. The problem was that since then I did not touch them at all due ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Location
    Greece
    Posts
    2

    [SOLVED] Resetting root password via grub problem

    Hello all,

    I had installed Debian in another partition of my system a few years ago. The problem was that since then I did not touch them at all due to not needing them.

    Now that I have a renewed interest to work with Linux due to being introduced to shell scripting by a course I took, I tried to log in again. The problem? As was expected I did not remember the root password.

    I tried resetting it by using this tutorial. I am using grub. The problem is though that when I type passwd and give the new password twice the system replies with:

    "Authentication token lock busy"

    I do not know what this is supposed to mean or how I can get around it. What I do know is that when I reboot the new password I entered for root is not working. Any help would be really appreciated. Thanks in advance!

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Welcome to the forums!

    Check this HowTo for several different methods to reset your root password:

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

    The first method is usually the easiest, but it doesn't always work.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

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

    Quote Originally Posted by Lefteris
    The problem is though that when I type passwd and give the new password twice the system replies with:

    "Authentication token lock busy"
    It looks like / partition has been mounted as read only. Remount partition first.
    Execute this
    Code:
    mount -o remount,rw / 
    passwd
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    May 2008
    Location
    Greece
    Posts
    2

    Thank you

    Thank you both. Apparently yes, that was the problem, I had not mounted it correctly.

    Sorry for the late reply but I was away. Thanks once more.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you.
    Do start a new thread if you have any other question.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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