1 确保安装了ssh:
apt install openssh-server
2 编辑 /etc/gdm3/daemon.conf:
[security]
AllowRoot = true
3 取消注释 /etc/pam.d/gdm-password :
auth required pam_succeed_if.so user != root quiet_success
4 编辑ssh配置文件 sshd_config:
PermitRootLogin yes
1 确保安装了ssh:
apt install openssh-server
2 编辑 /etc/gdm3/daemon.conf:
[security]
AllowRoot = true
3 取消注释 /etc/pam.d/gdm-password :
auth required pam_succeed_if.so user != root quiet_success
4 编辑ssh配置文件 sshd_config:
PermitRootLogin yes