Solved

How to reset root password for openSUSE 11.1

Posted on 2013-05-18
7
613 Views
Last Modified: 2013-05-23
I tried:  init=/bin/bash and linux init=/bin/bash at the graphical boot menu
when it booted up I tried to configure networking and got:  Password needed. Administrator (root) privilege is required. Please enter the root password to continue. Command: /sbin/yast2 lan

When I tried:
boot: Linux init=/bin/bash
I got:  VFS: Cannot open root device "<NULL> or unknown-block(8,9)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,9)

Is there a way to reset the root password thru the boot: option?  Thanks for your help
0
Comment
Question by:gloyola1
  • 3
  • 2
  • 2
7 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
what access into the system do you have?
Do you have access with an account that has sudo rights?
You could boot the system using a CD/DVD and then mounting the hard drive partition where /etc/shadow is.
0
 

Author Comment

by:gloyola1
Comment Utility
I am booting from a live cd.  I don't have an account with sudo rights.  Am I out of luck?
0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
no, booting with livecd is how you can access the file and update/reset the password.

You need to mount the hard drive's partition that includes /etc and then edit the shadow file and reset the password there.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 34

Expert Comment

by:Duncan Roe
Comment Utility
Which live CD? Knoppix should give you root access straight away, unless they've changed something since I last tried it (Downloading the latest one now - will take a few hours).
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Any LiveCD will give you access since you still must mount the HD filesystem.
The only issue is if the silesystem is encrypted i.e. truecrypt, etc.
0
 
LVL 34

Expert Comment

by:Duncan Roe
Comment Utility
You might need to do su before you run yast
0
 

Author Closing Comment

by:gloyola1
Comment Utility
Thanks for your help
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now