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

ubuntu16 允许root用户登录

时间:2019-03-13 10:55:58      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:修改   ace   用户登录   cat   rmi   nbsp   rac   root用户   bit   

ubuntu16上 PermitRootLogin yes 

 vi /etc/ssh/sshd_config  修改为

# Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password
StrictModes yes

 

 

修改为

 

# Authentication:
LoginGraceTime 120
#PermitRootLogin prohibit-password
PermitRootLogin yes
StrictModes yes

ubuntu16 允许root用户登录

标签:修改   ace   用户登录   cat   rmi   nbsp   rac   root用户   bit   

原文地址:https://www.cnblogs.com/yyxx8888/p/10521431.html

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