The profile file cannot enter the ubuntu issue. yesterday, I configured the java environment, modified the profile file, saved and restarted, and entered the login page. I couldn't enter the password, so I went crazy !!! Enter the logon page, press alt + ctrl + F1 to enter the interrupt, verify the user name and password. Then enter cd/et...
The profile file cannot enter the ubuntu issue. yesterday, I configured the java environment, modified the profile file, saved and restarted, and entered the login page. I couldn't enter the password, so I went crazy !!! Enter the logon page, press alt + ctrl + F1 to enter the interrupt, verify the user name and password. Then enter cd/etc to enter the etc file www.2cto.com.
After entering/usr/bin/sudo vi profile to the text editing mode of the profile file, delete the modified content with the operation code in vi. Save and restart. In fact, you can also use nano
That is to say, usr/bin/sudo nano profilenano is more convenient.
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