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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command changes the root password?

A

passwd root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command performs a full selinux relabeling after booting?

A

touch /.autorelabel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly