본문 바로가기
OS/Linux

CentOS / 보안 업데이트 및 설정관련사항

by 하하IT 2020. 4. 26.

1. 보안업데이트

[root@ns ~]#
[root@ns ~]#
[root@ns ~]#
[root@ns ~]# yum -y install kdelibs\*
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: ftp.daum.net
 * extras: ftp.daum.net
 * updates: centos.tt.co.kr
Setting up Install Process
Package kdelibs-experimental-4.3.4-3.el6.i686 already installed and latest version
Package 6:kdelibs-common-4.3.4-14.el6_3.2.i686 already installed and latest version
Package kdelibs3-devel-3.5.10-24.el6_1.1.i686 already installed and latest version
Package 6:kdelibs-4.3.4-14.el6_3.2.i686 already installed and latest version
Package 6:kdelibs-devel-4.3.4-14.el6_3.2.i686 already installed and latest version
Package kdelibs-experimental-devel-4.3.4-3.el6.i686 already installed and latest version
Package 6:kdelibs-apidocs-4.3.4-14.el6_3.2.noarch already installed and latest version
Package kdelibs3-3.5.10-24.el6_1.1.i686 already installed and latest version
Package kdelibs3-apidocs-3.5.10-24.el6_1.1.noarch already installed and latest version
Nothing to do
[root@ns ~]#
[root@ns ~]#

 

 

2. 보안관련 설정

 

2.1 root로 ssh로 접속 못하도록 처리함


[root@ns home]# vi /etc/ssh/sshd_config

 

...

# PermitRootLogin yes 

PermitRootLogin no

..
[root@ns home]# /etc/rc.d/init.d/sshd restart
Stopping sshd:                                             [  OK  ]
Starting sshd:                                             [  OK  ]
[root@ns home]#
[root@ns home]#