linux16 reset root password centos 7

Edit the grub menu by pressing ā€œeā€
On linel inux16 add at the end “rd.break console=tty1”
mount -o remount,rw /sysroot
chroot /sysroot
passwd root

touch /.autorelabelon Selinux system

Leave a Reply

Your email address will not be published. Required fields are marked *