Changes

Jump to: navigation, search

OPS235 Lab 7 - CentOS7 - HD2

240 bytes added, 10:31, 3 November 2016
no edit summary
# Restart the ssh service.
# Try SSHing from your c7host VM to your centos1 VM for the account called '''other'''. Did it work this time?
# Issue the following command to make a backup copy of your sshd_config file to your original regular user's home directory:<br><b><code><span style="color:#3366CC;font-size:1.2em;">cp /etc/ssh/sshd_config /home/regularuserid</span></code><ol><li value="1415">Finally, as a system administrator, you should periodically monitor your system logs for unauthorized login attempts.</li>
<li>On CentOS systems the log file that is used is '''/var/log/secure''' </li>
<li>It also logs all uses of the '''su''' and '''sudo''' commands.</li>
13,420
edits

Navigation menu