Sunday, January 10, 2016

amazon web services - setting up root password in aws linux instance

we have setup the aws linux instances with ssh keys.



Ubuntu user can be login with ssh key , sudo su - getting into root user without prompt password and set the password for root even though not prompting password. how to switch the root user with password using sudo su - command.



ubuntu@ip-172-31-6-222:~$ sudo su -
root@ip-172-31-6-222:~#

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...