Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] konsole
On 19/06/17 16:37, Anton Aylward wrote:
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".

That could actually explain what is happening to me :-)

konsole spots that the config file was saved by root, and asks for the
root password so it can read it!

I'd be a little surprised if it's that clever, but it does make sense...

Cheers,
Wol

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread