码迷,mamicode.com
首页 > 系统相关 > 详细

【Linux安全】防止 root 用户远程登录

时间:2016-05-04 23:00:02      阅读:277      评论:0      收藏:0      [点我收藏+]

标签:

防止 root 用户远程登录,在终端输入以下命令:

vim /etc/ssh/sshd_config

修改如下行为:no

PermitRootLogin no 

如图所示:

技术分享

技术分享

【Linux安全】防止 root 用户远程登录

标签:

原文地址:http://www.cnblogs.com/tdcqma/p/5459947.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!