今天折腾了一下AWS的Free Usage Tire,在创建实例时发现没有ubuntu的选项,为了方便,就选择了Amazon的linux-32bit,在使用putty连接,用root登录时,出现了这个提示: Please login as the ec2-user user rather than root user.
解决方法很简单,在登录时使用"ec2-user"来代替"root"即可。
<br />今天折腾了一下AWS的Free Usage Tire,在创建实例时发现没有ubuntu的选项,为了方便,就选择了Amazon的linux-32bit,在使用putty连接,用root登录时,出现了这个提示: Please login as the ec2-user user rather than root user.<br /> <br />解决方法很简单,在登录时使用"ec2-user"来代替"root"即可。
Beryl and Compiz (at least the extra plugins division of compiz) have merged.
Please
all welcome Compiz Fusion! You ll find the new forums at http://forum.compiz-fusion.org. The very first development release of Compiz Fusion happened on August 13, 2007 and is tagged 0.5.2, matching Compiz 0.5.2 release.
Please
ch
ec
k the release announcement.
We hope you will enjoy using Compiz Fusion as much as we enjoyed writing it!
本次登录使用的
ec
2
-user
用户,如果使用
root
登录会提示:
Please
login
as the
user
"
ec
2
-user
" rather than the
user
"
root
".
解决此问题方法:
a、为
root
用户创建密码
[
ec
2
-user
@hostname ~]$ sudo passwd
root
Changing password for
user
root
.
New ...
对于刚创建AWS
EC
2实例,或者经常使用AWS 实例的小伙伴们来说,刚创建的
EC
2实例是没有
ROOT
权限的,因此不能直接使用
ROOT
用户去登陆实例,也无法获取到
root
权限。
一般情况下,
EC
2实例默认是以
ec
2
-user
为用户名去登陆的
(除了Ubuntu系统实例,它的默认用户名是ubuntu,centos系统实例,它的默认用户名是centos)。
对于如何去创建
root
及密码,以及更改用户登陆方式–改为
root
用户登陆实例,就显得很有必要。下文就是帮助大家如何去创建
root
密码,以及如何
ROOT
用户去
aws
ec
2默认是使用
ec
2
-user
账号登陆的,对很多文件夹是没有权限的。如何使用
root
账号执行命令就是一个问题了。解决办法如下:
1.根据官网提供的方法登录连接到
EC
2服务器(官网推荐windows用户使用PUTTY连接)
主机:是服务器的Public DNS端口:22
2.创建
root
的密码,输入如下命令:
sudo passwd
root
3.然后会提示你输入ne