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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheeGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.