This method only applies if the root password cannot be changed through the ECS console Check the/etc/default/grub cat /etc/default/grub Modify /etc/default/grub sed -i 's/GRU…
Alibaba Cloud ECS Ubuntu Forgets Root Password Solution