The difference between su and sudo is that the following error occurs when gvim (ubuntu12.04) is used today. this error has not occurred before, and gvim will be displayed in white when it is opened, and will be displayed normally after a long time. at the beginning, I didn't care about it. google can solve it with gvim-f and use .www.2cto.com...
The difference between su and sudo is that the following error occurs when gvim (ubuntu12.04) is used today. this error has not occurred before, and gvim will be displayed in white when it is opened, and will be displayed normally after a long time. I didn't care about it at the beginning. google can solve the problem by using gvim-f. It can be used normally. the following error \ GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connectio N was broken. google said it was not using the token as root. It's strange that I clearly have the root permission. I used to use sodu-I to switch to the root permission. today I don't know how to use su root to get the root permission when I write an automatic login script. Is there a problem here? Sure enough: the difference between su and sudo: 1. common features: root user permissions; 2. difference: su only obtains the root permission, the work environment remains unchanged, or the user's work environment before switching; sudo completely obtains the root permission and the root work environment. What is the difference between www.2cto.com su-root and su root (su? Su-root: indicates that the user logs on to just like login as root, then the shell is login shell, which mean it will expericene a login process, usually. bash_profile and. bashrc will be sourcedsu root: indicates to establish a link with the root user. run the command like you open an interactive shell in root nametaskonly through root. bashrc will be sourced. the most direct difference is that the su directory is the original user directory, but the directory becomes the root user's main directory after su or su-root.
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