Amazon AWS Ubuntu Setup root Password Mode login method

Source: Internet
Author: User
Tags vps

LINUX VPS does not have root privileges is very difficult to do, and password landing is also convenient.
The Linux version of my AWS VPs is Ubuntu 13.10, first signed in with an AWS certificate verified account,
1. Change the root password
sudo passwd root
2, sudo chmod 777/etc/ssh/sshd_config
Use up and change the authority back.
3, Vi/etc/ssh/sshd_config
Permitrootlogin
This line should read
Permitrootlogin Yes
Passwordauthentication No
The above no changes to Yes
————-CentOS This step does not need to do —————
Usepam Yes
Change the above yes to No
—————————-
4, restart the AWS VPS, you can use the root of the normal landing

Amazon AWS Ubuntu Setup root Password Mode login method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.