Ubuntu10.10 entered the correct user name and password but could not log on

Source: Internet
Author: User
Tags superuser permission
Ubuntu10.10 entered the correct user name and password but could not log on. Ctrl + Alt + F1 enter the user name (not the user name as prompted above, for example, if your machine name is zx-PC, enter the user name as zx) the password cannot log on to the system because of an incorrect environment variable setting. Therefore, you need to modify the environment variable. You need to use sudo to obtain the Super User permission. However, because the environment variable is damaged, you must add the complete path to the password: enter the following format:/usr/bin/sudo/usr/bin/vi/etc/pro

Ubuntu 10.10 entered the correct user name and password but could not log on, Ctrl + Alt + F1 enter the user name (not the user name shown above, for example, if your machine name is zx-PC, enter the user name as zx. The password cannot log on to the system due to incorrect environment variable settings. Therefore, you need to modify the environment variable, this requires the use of sudo to obtain the superuser permission, but the environment variable is corrupted, so the complete path must be added during use: Enter the following format: /usr/bin/sudo/usr/bin/vi/etc/profile and enter the Super User Password to open the environment variable file and press dd (two keys d) delete the wrong row (the row added in the previous use) and press shift to enter the number, enter wq after the colon, and restart.

Related Article

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.