Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] konsole


On 22/06/2017 14:03, Carlos E. R. wrote:
cer@Telcontar:~> echo $HOME $USER
/home/cer cer
cer@Telcontar:~> su
Password:
Telcontar:/home/cer # echo $HOME $USER <===
/root cer
Telcontar:/home/cer # exit
cer@Telcontar:~> su -
Password:
Telcontar:~ # echo $HOME $USER
/root root
Telcontar:~ # logout
cer@Telcontar:~>


Notice that for "su" the HOME var is /root, but the current directory is
not.
That's 100% right, what I have learned from this thread is that I can use su -p to install third party software and don't have to use sudo
Thanks
Dave P

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

< Previous Next >
This Thread