Solved

How to reset root password for openSUSE 11.1

Posted on 2013-05-18
7
644 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 78

Expert Comment

by:arnold
ID: 39177881
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
ID: 39177907
I am booting from a live cd.  I don't have an account with sudo rights.  Am I out of luck?
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 39177920
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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39177985
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 78

Expert Comment

by:arnold
ID: 39178003
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
ID: 39178029
You might need to do su before you run yast
0
 

Author Closing Comment

by:gloyola1
ID: 39191248
Thanks for your help
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
postfix start error! 9 57
Why would ubuntu server 16.04 compress so many small access.log.gz files? 4 36
Linux 3 38
Windows 10 linux VM 18 43
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

730 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