On 19/06/17 05:47 AM, Carlos E. R. wrote:
Running just "su" alone meremly changes your effective UID. By default, it is to root, but could to to another user. It does not alter HOME, SHELL, USER, LOGNAME, and PATH. That last one is important. A real root shell expects to have /sbin & /usr/sbin in the PATH HOME is also very important.
The home is not changed, so that files you write being root (or another user) are written in the user's home. It can thus happen that config files of the user become inaccessible to the user.
that is a very, very good point, Carlos. "Unwanted Side Effects". -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org