Ubuntu system Enable root user

Source: Internet
Author: User

After the first installation of Ubuntu, only the users and user passwords that were set up at the time of installation, the user name and password for Hadoop and Hadoop are used in this installation, but the user's permissions are not enough at some point, so you need to switch to the root user. And because the root user at this time the password is dynamic, so also need to manually set the root user password, the root user can not be remote by default, so you need to modify the configuration file, configure the root user remote:

Switch from Hadoop user to root user: sudo su;

To set the root password:

    • Installing the remote server Openssh-server

Installation Successful

    • Problems with the VIM editor

The system default Vim editor will have some problems, such as the change of the file will appear on the keyboard on the top or bottom of the situation on behalf of the input A, B, C, D, the solution is to reinstall the full version of:

Apt-get Remove Vim-common

Apt-get Install Vim

Installation time is still relatively long.

    • Configuration allows the root user to remotely

Open Vim/etc/ssh/sshd_config

Modify to Yes

    • Restart the SSH service

    • View IP Address

    • Use putty to log in to the server.
    • Configure static addresses

Modify the/etc/network/interface file

Add the above content

Restart Service

Service Networking Restart//

Ubuntu system Enable root user

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.