标签: 启用root
thumbnail

CentOS 系统启用 root 账户

echo root:password |sudo chpasswd root sudo sed -i 's/^.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; sudo sed -i 's/^.*Password……