CentOS 系统启用 root 账户

echo root:password |sudo chpasswd root
sudo sed -i 's/^.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^.*PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo service sshd restart

 

上一篇 微软 Windows 10 LTSC2019 官方 三月更新版镜像
下一篇 8UFTP 3.8.2.0 绿色版