Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

6 bytes added, 12:07, 7 July 2015
no edit summary
# Think of a good quality password and change your root passwords on all 3 VM's to be more secure. (It would be a good idea to do this for non-root accounts also)
# The next change you can make is to prevent the root account from logging in to sshd altogether.
# Change to your '''centos2 ''' VM and open a terminal.
# Edit the file '''/etc/ssh/sshd_config''' and look for the option '''PermitRootLogin'''. Un-comment the option (or add the option if it does not appear) and change the option value to '''"no"'''.
# Even better, it is possible to restrict access to just specific users that require it.
13,420
edits