Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Fred

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Forgot Root Passwd

Insta-redoominhas(and anywww.jsu becadescription of your code heretest1

   1  
   2  What can you do if you forget your root password? To reset it to a different password, boot into rescue mode or single-user mode, and use the passwd command to reset the root password.
   3  
   4  By booting the system from the Red Hat Enterprise Linux CD-ROM #1.
   5  
   6  Once you have booted using one of the described methods, add the keyword rescue as a kernel parameter. For example, for an x86 system, type the following command at the installation boot prompt:
   7  
   8  linux rescue
   9  
  10  chroot /mnt/sysimage
  11  
  12  passwd
  13  
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS