Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everyone, I changed my password using the `passwd' command. Now whenever I try to login as root, it says incorrect login. Is there a reason for this? All I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    36

    Password change, now a lost root password


    Hi everyone, I changed my password using the `passwd' command. Now whenever I try to login as root, it says incorrect login. Is there a reason for this? All I did was change the password for a normal user. I'm using SuSE 9.3, by the way.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Which user were you logged in as when you ran passwd, and did you provide it with any options?

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    36
    I was logged in as myself, and no, I didn't pass any options to passwd.

    EDIT: I have tried booting into single user mode to try and reset the root password, but it asks for the root password.

  4. #4
    Linux Enthusiast
    Join Date
    Jul 2005
    Location
    Maryland
    Posts
    522
    Look in here, or use search to find answer to your question.

  5. #5
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    Quote Originally Posted by draco
    I have tried booting into single user mode to try and reset the root password, but it asks for the root password.
    Try passing the "init=/bin/bash" kernel argument. If that doesn't work, try booting from a LiveCD like Knoppix and removing root's password hash in the /etc/shadow file on your hard drive.

Posting Permissions

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