Reset/Recover Root Password On Redhat/CentOs 7

0
75
views

If you forget or want to recover the root password of redhat /CentOs machine. You do not need to be panic. It’s possible to break or reset the root password in case if you forget it.

source link Step 1 :

Reboot your machine, before booting Press ‘e’ to interrupt the booting process of your machine.

Then look for a line linux 16 write  demokonto trading sparkasse rd.break between initrd16  and Press Ctrl ‘x’ to execute it.

Dove mettere i soldi in opzioni binarie, enter. Luxury apartment with 4 rooms, located on the 10th floor in one of the most modern residential complexes on the market today, available now for rent. Step 2 :

Now system will be in emergency mode, next step is run a command mentioned below

Work at home email processors mount –o  remount,rw/  sysroot

This command is used as by default sysroot is in read only mode. We changed it to read write mode.

follow Step 3 :

Change the root

rencontre astaffort chroot  /sysroot

9 ans de rencontre Step 4 :

Type go here passwd

It will ask you to change the password after running above command then change the root password here.

http://creatingsparks.com.gridhosted.co.uk/?endonezit=best-online-binary-options-broker'A=0 Step 5:

This command will disabled the SElinux

Type getenforce

follow link Step 6.

After all, Last Step is to load the changes to SElinux

Command is    enter touch /.autorelabel

Press  exit

apprendista binario trading Step 6 :

You will have to exit two times then system will reboot, try to login with your new password. Enjoy

You’re done.

LEAVE A REPLY

Please enter your comment!
Please enter your name here