Oracle Linux 7.9 登录root的方法
首先使用opc账号登录甲骨文的linux
然后
sudo -i
Oracle Linux 7.9怎么启用root密码登录呢
sudo -i echo root:你的新密码 |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
转载请注明:落伍老站长 » 甲骨文cloud登录opc以后怎么切换root