给EC2设置并启用root账户

最近需要在ec2上安装几个小软件,需要用到root账户登录,这里做个记录,以便后需:

0,使用官网提供的方法登录连接到EC2

1,创建root的密码,输入如下命令:

2,切换到root身份,输入如下命令:

Share

小 虾

哦也,我是小虾

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.