1, increase the environment variable root privileges, and permanent
Directly into the command cd root / ubuntu: ~ # this directory
Use vim to open the file .bsahrc
In the bottom insertion export PATH = "" this path, here to remember, to the existing PATH path added to the list, and then written on the back and then want to add.
Finally, the implementation of source .bashrc
Whether restart operations or other environmental variables, root privileges are present.
After the restart to take effect in all other sub-accounts.