7 June 2017

forgot the linux root user password how to change it

How to Change the Linux root user password

following the below steps:

1. reboot the system and press F8 or press space bar and  select rescue mode and press e
2.  come to last paragraph of linux16 and write rd.break console=tty1
3. ctrl+x
4. come in single user mode
5. mount -o, remount,rw /sysroot
6. chroot /sysroot
7. passwd root
applay the password

# touch /.autorelabel
#exit
#exit





No comments: