RHCSA Rapid Track
In this lab, you will manage a service unit that is already installed on the system.
Outcomes
The chronyd service is disabled and no longer running on the system.
Reset your serverX system.
Observe the results of systemctl restart and systemctl reload commands.
Display the status of the
sshdservice. Note the process ID of the daemon.[student@serverX ~]$sudo systemctl status sshdRestart the
sshdservice and view the status. The process ID of the daemon has changed.[student@serverX ~]$sudo systemctl restart sshd[student@serverX ~]$sudo systemctl status sshdReload the
sshdservice and view the status. The process ID of the daemon has not changed and connections have not been interrupted.[student@serverX ~]$sudo systemctl reload sshd[student@serverX ~]$sudo systemctl status sshd
Verify that the
chronydservice is running.[student@serverX ~]$sudo systemctl status chronydStop the
chronydservice and view the status.[student@serverX ~]$sudo systemctl stop chronyd[student@serverX ~]$sudo systemctl status chronydDetermine if the chronyd service is enabled to start at system boot.
[student@serverX ~]$sudo systemctl is-enabled chronydReboot the system, then view the status of the
chronydservice.[student@serverX ~]$sudo systemctl status chronydDisable the chronyd service so that it does not start at system boot, then view the status of the service.
[student@serverX ~]$sudo systemctl disable chronyd[student@serverX ~]$sudo systemctl status chronydReboot the system, then view the status of the
chronydservice.[student@serverX ~]$sudo systemctl status chronyd