Changes

Jump to: navigation, search

OPS235 Lab 7

No change in size, 10:43, 3 November 2016
no edit summary
# 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/sshd_config.bk</span></code></b>
# Issue the following command to allow same group and other group members to view the file contents:<br><b><code><span style="color:#3366CC;font-size:1.2em;">chmod og+r /home/regularuserid/sshd_config.bk</span></code></b>
<ol><li value="1516">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