Re: Please help with error message
On Tue, Aug 07, 2018 at 01:18:59PM +0300, Reco wrote:
> On Tue, Aug 07, 2018 at 12:01:02PM +0200, Stephan Seitz wrote:
> > On Di, Aug 07, 2018 at 12:35:32 +0300, Reco wrote:
> > > > rodolfo@sda6-acer:~$ su
> > > Don't. Do. That. Ever.
> >
> > That’s bullshit. I did it all the time until Debian decided to break things.
> Either you have /sbin in your user's path, or you haven't run a single
> apt-get all these years. There are other possibilities, of course,
> though less flattering.
No, Stephan is correct. In Debian stable, "su" with no arguments
changes PATH. It has done so for years. Decades, if I'm not mistaken.
Here, watch:
wooledg:~$ echo "$PATH"
/home/wooledg/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
wooledg:~$ su
Password:
root@wooledg:/home/wooledg# echo "$PATH"
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
If testing/unstable has changed this behavior, then that's going to be
a HUGE thing to adjust to. Has a bug been filed for it yet?
Reply to: