[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why /usr/sbin is not in my root $PATH ?



	Hi.

On Thu, Feb 21, 2019 at 08:20:46AM -0500, Greg Wooledge wrote:
> On Thu, Feb 21, 2019 at 09:31:31AM +0100, Pierre Couderc wrote:
> > On 2/21/19 9:15 AM, Reco wrote:
> > > On Thu, Feb 21, 2019 at 09:07:09AM +0100, Pierre Couderc wrote:
> > > > Why /usr/sbin is not in my root $PATH ?
> 
> Because you upgraded to buster (or unstable), and Debian in its infinite
> wisdom has changed the behavior of su between stretch and buster.

A small nit. They've changed the implementation of su.
Behaviour change is a consequence.


> > > Make a habit of using 'su -', as this behaviour is here to stay.
> 
> Or use one of several other workarounds, for example putting /usr/sbin
> and /sbin into your regular user account's PATH.

That'll work too.

Reco


Reply to: