Problem:
Kubuntu after modifying the/etc/profile, the login time, enter the password, the issue of circular landing.
Cause Analysis:
Because the/etc/profile was previously edited and no other operations were made, it was decided that the profile was edited, resulting in an error, while checking some information on the web.
Analysis Process:
First in the login, through the Shift + Ctrl + F1 key, enter the Konsole, entered the user name, password, through VI to view the contents of/etc/profile, according to the prompts for further analysis of the problem.
Appears between E45: ' readonly ' option is set (add! to override). There are some grammatical errors, according to the hint, combined with the information of the web search, it is their own lack of proficiency in the VI caused.
Summary of issues:
To enhance the proficiency of VI operation, involving the VI 3 mode how to do mutual transfer, file operation permissions, cursor movement, 3 chunks.
Linux VI Command Introduction
Http://www.ctyun.cn/help/cloud/book/linux/newuser/2013/1127/193.html
Reference:
Baidu ask self-answer:
http://tieba.baidu.com/p/3074069084
E45: ' readonly ' option is set (add! to override).
Http://www.linuxforums.org/forum/red-hat-fedora-linux/154134-e45-readonly-option-set-add-override.html
E45 appears under VI: ' readonly ' option is set (add! To override)-linux system Management-chinaunix.net
Http://bbs.chinaunix.net/thread-2192284-1-1.html
E212:can ' t open file for writing
Http://bbs.chinaunix.net/thread-1941792-2-1.html
Linux text Editor-shibushiyouwenti's column-Blog channel-csdn.net
http://blog.csdn.net/shibushiyouwenti/article/details/7313212
How to save Exit VI Edit _ Baidu know
Http://zhidao.baidu.com/question/441713655.html
With the VI editor of Red Hat Linux 5, after exiting. Can't save it. _ Baidu Know
Http://zhidao.baidu.com/link?url=LjIMsc8YBAbI2VwCUekR99JsMzffk8GK3WDht2dY8Rym9cMM-6u38JnRLDpoLtKKUu4Lg7oSfoaOM4RmWoFcDa
How to save and exit from the Linux VI Editor General mode _ Baidu knows
Http://zhidao.baidu.com/link?url=pvUJqJyIRwHlwb6TrWhLrz0Wxo7ik_QDuiGHMIW_K7rAc_t1DBBnIpKIM8rN7hzq7t0Hj0rtwDL6Q3mzeXUmI_