How to reset root password for openSUSE 11.1

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
gloyola1Asked:
Who is Participating?
 
arnoldConnect With a Mentor Commented:
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
 
arnoldCommented:
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
 
gloyola1Author Commented:
I am booting from a live cd.  I don't have an account with sudo rights.  Am I out of luck?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Duncan RoeSoftware DeveloperCommented:
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
 
arnoldCommented:
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
 
Duncan RoeSoftware DeveloperCommented:
You might need to do su before you run yast
0
 
gloyola1Author Commented:
Thanks for your help
0
All Courses

From novice to tech pro — start learning today.