banner
NEWS LETTER

Ubuntu允许Root用户登录

Scroll down

本文作者:丁辉

Ubuntu允许Root用户登录

  1. 配置Root密码

    1
    sudo passwd root
  2. 修改 ssh 配置

    1
    sudo vi /etc/ssh/sshd_config
  3. 修改如下参数为 yes

    1
    2
    PermitRootLogin yes
    PasswordAuthentication yes
  4. 重启 SSH 服务

    1
    sudo service ssh restart

I'm so cute. Please give me money.

其他文章
cover
Systemctl查看日志
  • 70/01/01
  • 00:00
  • Linux-Docs
cover
Ubuntu关闭用户的交互
  • 70/01/01
  • 00:00
  • Linux-Docs
目录导航 置顶
  1. 1. Ubuntu允许Root用户登录
请输入关键词进行搜索