Ubuntu修改root账号密码及远程登录
小于 1 分钟LinuxLinux
sudo passwd
vim /etc/ssh/sshd_config
找到PermitRootLogin without-password 修改为PermitRootLogin yes
service ssh restart
sudo passwd
vim /etc/ssh/sshd_config
找到PermitRootLogin without-password 修改为PermitRootLogin yes
service ssh restart