In the Ubuntu system operation, the account can not be logged in after setting the PATH environment variable. It is very simple to encounter this problem. Just change it back. The following small series asks everyone how to solve the problem after Ubuntu changes the PATH environment variable. Unable to log in.
is used to set the environment variable vi /etc /profile
and rearmost in the open file added export PATH = $ PATH: /home /alex /opt /EmbedSky/4.3.3/bin
Save, exit to return to the line, and then reboot
You will not be able to log in to the account.
Solution:
Restart, because it is a dual system, select interface (recovery mode) at this time will display "Recovery Menu (filesystem state: read-only) < Br>
In this state, you can't modify the file. In this case, you should first make Recovery Menu (filesystem state: read-write)“
Method: Select root in recovery mode, then Enter mount -o remount,rw /
reboot and then enter recovery mode, then select the grub entry, and then run back to find that the first line becomes " Recovery Menu (filesystem state: read-write)“< Br>
(In this state you can delete the code that was added to the original.)
Then select root
vi /etc/profile
Then put yourself Add the code to go to delete, save, and exit.
Then restart, enter Ubuntu OK
The above is the solution to Ubuntu modify the PATH environment variable can not log in the account, the problem should be restarted first, then delete the added code to save can.
Linux character interface is easy to be boring for a long time. If you add a person
In Ubuntu system operation, Pacman is a package manager that can manage the official Arch library an
The Linux process consists of a core process and a normal process. When the normal process is bound
The xlsfonts command in Linux system looks like a bunch of garbled characters. But xlsfonts is not a
Instructions for using the Linux system xlsatom command
Ubuntu shutdown can not shut down how to solve?
How to fix the program error prompted by Ubuntu system?
When prompted to start the vi editor in Linux, prompt E325: What should ATTENTION do?
Summary of tar commands in Linux system
How to customize the History output format for Linux systems
A brief introduction to the Linux signal mechanism
Steps to install GitLab on CentOS system
How to set Linux commands as keyboard shortcuts
How to install Linux using the pidstat command
How to set win10 onedrive to automatically close?
How to prevent WinXP from displaying the contents of the previous disc
How to view the port number in Win7?
Apple air computer installation windows7 graphic tutorial
Win7 open Nvidia control panel skills
Win8 Modern style contacts app how to add contacts
How to restore (default) Win7 taskbar restore default settings
Resolving BCD management tools under Windows 7
Win10 surprised 8 new scene sounds
Dolby Laboratories: Microsoft Win8 will integrate Dolby sound technology