On Sun, Jul 14, 2019 at 11:42:52AM +0200, [email protected] wrote: > On Sun, Jul 14, 2019 at 09:11:17AM +0300, Andrei POPESCU wrote: > > On Du, 14 iul 19, 00:09:09, [email protected] wrote: > > > Use "su -" (or "sudo -s") if you want to achieve that... > > > > You probably meant 'sudo -i' ;) > > Yep, better.
The closest replacement for stretch's "su" (change PATH but do not change working directory) is "sudo -s". If you want to replace the "su" in this workflow: make make check su make install ... you want "sudo -s". "su -" or "sudo -i" changes your working directory as well as your PATH. In some cases, that may be desirable, but in others it's not.

