Solved

How to reset root password for openSUSE 11.1

Posted on 2013-05-18
7
619 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 77

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 77

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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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 77

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWARE Vcenter GUI defaults question about networks 10 86
change time in cron 4 65
Setting up two Raspberry Pi gateways/routers 3 39
Linux VM 6 44
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

911 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

20 Experts available now in Live!

Get 1:1 Help Now