Answers
issue the date command on the remote host serverx as the root user Correct Ans-ssh
root@serverx date
copy the public key to the remote serverx Correct Ans-ssh-copy-id serverx
create a ssh key pair Correct Ans-ssh-keygen
what file do you edit to prevent root logins through ssh Correct Ans-/etc/ssh/sshd_config
most syslog messages are logged here. the exceptions are messages related to authentication,
email processing, and that periodically run jobs, or those which are purely debugging-related
Correct Ans-/var/log/messages
the log file for security and authentication-related messages and errors Correct Ans-
/var/log/secure
the log file with mail server-related messages Correct Ans-/var/log/maillog
the log file related to periodically executed tasks Correct Ans-/var/log/cron
,messages related to system startup are logged here Correct Ans-/var/log/boot.log
syslog code 0 Correct Ans-emerg
syslog code 1 Correct Ans-alert
syslog code 2 Correct Ans-crit
syslog cod 3 Correct Ans-err
syslog code 4 Correct Ans-warning
syslog code 5 Correct Ans-notice
syslog code 6 Correct Ans-info
syslog code 7 Correct Ans-debug
shows the overview of the current time-related system setting Correct Ans-timedatectl
, set the current system timezone Correct Ans-timedatectl set-timezone America/Phoenix
set the current system time Correct Ans-timedatectl set-time 9:00:00
what command shows the full system journal Correct Ans-journalctl
filter the output of journalctl to only show log entries of priority err or above Correct Ans-
journalctl -p err
boot an existing configured virtual machine Correct Ans-virsh start server
immediately stop a vertual machine, similar to unplugging it Correct Ans-virsh destroy server
delete the configuration for a virtual machine permanently Correct Ans-virsh undefine server
use and xml configuration to create and boot a virtual machine Correct Ans-virsh create
server
use and xml configuration to create a virtual machine Correct Ans-virsh define server
gracefully stop and restart a virtual machine Correct Ans-virsh reboot server