Etc/profile Setting environment variable causes unable to log on to resolve 1, because accidentally set in etc/profile environment variable cause unable to log in Etc/profile set export path This will cause a reboot after the system login interface Alt +CT Rl+f2 into the command mode, if not the root user needs to type "root user not so verbose, gedit edit will not be displayed"/usr/bin/sudo/usr/bin/vi/etc/environment cursor moved to export path** Row, press D two times to delete the row by: Wq--"This is killing me, actually. Press SHIFT and enter": ", and then enter Wq" Save exit type/sbin/reboot
Rebooting the system
Note: If you delete the contents of the file by mistake, you need to complete the shell command in the file and then reboot
"Linux/ubuntu Learning 12" Ubuntu under the/etc/profile error modification causes the system cannot log on