22 Jun
2017
22 Jun
'17
14:15
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@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org