Professional Documents
Culture Documents
It can be preliminary task for starting Your exam. It is crucial to know this procedure by heart.
Question:
You do not know the root password but You have physical access to the machine. Create new root
password and log into the system.
load_policy -i
chcon -t shadow_t /etc/shadow
Additional comment:
It is possible to edit startup parameters of the kernel from the command line and make it
persistent. Just edit /etc/default/grub file and after that make sure to run grub2-mkconfig >
/boot/grub2/grub.cfg in order to apply the changes (for old BIOS config). For the UEFI computers
the final file is /boot/efi/EFI/redhat/grub.cfg.