SUSE Linux – forgotten passwords

5 pts.
Tags:
Linux security
Password
SUSE Linux
SUSE Linux Desktop
how can I replace forgotten passwords in suse linux desktop?

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you still have the root password it won’t be that difficult to perform a PASSWD command, otherwise you may try and access the disk from external source and then hope that JohnTheRipper or similar tools can find the password.

=======================

Boot the system from the SUSE media in rescue mode. You could also use Knoppix or a Centos LiveCD. Mount your root partition on /mnt. Edit /mnt/etc/shadow and remove the root password (the long string of random-looking characters between the frist colon and the second colon). Remove the rescue media and reboot. Log in as root. The root user now has no password – just hit <ENTER> when prompted when you login. Use the “passwd” command to set the root password and to set any other passwords you like.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Subhendu Sen
    Don't worry, I am going to tell u the most easy way ! a) When boot suse linux and shows the menu, just type "init=/bin/bash" without quote on Boot Options. b) It shows the prompt or goes to command line, just type "passwd" (without quote). It asks for new password type as per ur choice then retype it and reboot the computer by typing reboot. your problem is absolutely solved.
    27,430 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following