Ubuntu18.04系统结构如何允许空密码登录
资讯 2025-03-02 17:39 567

Ubuntu18.04系统结构如何允许空密码登录

在ubuntu18.04中如何允许空密码登录呢?本文给出详尽说明。

1.打开sshd_config记录

vi /etc/ssh/sshd_config

2.将#PermitEmptyPasswords no 改为 PermitRootLogin yes后保存退出