Operate running systems Flashcards Preview

RHCSAv8.2 > Operate running systems > Flashcards

Flashcards in Operate running systems Deck (11)
Loading flashcards...

You have forgotten the password for root. List the steps to reset root's password

1. From boot loader menu, press e to edit grub
2. Move cursor to the end of the linux line and append rd.break
3. Ctrl + X to reboot
4. mount -o remount,rw /sysroot
5. chroot /sysroot
6. passwd root
7. touch /.autorelabel
8. Type exit twice


How do you switch to a different target on a running system?

systemctl isolate multi-user.target


Increase nice level on process 1234 to the highest priority

renice -n -19 1234


Identify the currently active tuning profile the system is currently using

tuned-adm active


List all available tuning profiles

tuned-adm list


Switch the active tuning profile to the throughput-performance profile.

tuned-adm profile throughput-performance
tuned-adm active


What command outputs the last 10 lines of the
system journal and continues to output new journal entries as they get written to the journal?

journalctl -f


In addition to the visible content of the journal, there are fields attached to the log entries that
can only be seen when verbose output is turned on. What is this command?

journalctl -o verbose


List journal entries at the err priority or higher.

journalctl -p err


List all journal entries from today's records.

journalctl --since today


To store journals in /var/log/journal directory across reboots, what file would you set the Storage parameter to persistent?

vim /etc/systemd/journald.conf