Reset the Root Password Flashcards
1
Q
What command edits the resuce kernel boot-loader entry, in memory, to abort the boot process just after the kernel mounts all the file systems ebfore it hands over control to systemd?
A
rd.break
2
Q
What command in maintenance mode remounts /sysroot as read/write, then uses the chroot command to enter a chroot jail at /sysroot?
A
mount -o remount,rw /sysroot
chroot /sysroot
3
Q
What command changes the root password?
A
passwd root
4
Q
What command performs a full selinux relabeling after booting?
A
touch /.autorelabel