Accéder au contenu.
Menu Sympa

linux-31 - Re: [Linux-31] bash: commande introuvable

Objet : Discussions sur le logiciel libre

Archives de la liste

Re: [Linux-31] bash: commande introuvable


Chronologique Discussions 
  • From: jpcas <jpcas AT free.fr>
  • To: linux-31 AT culte.org
  • Subject: Re: [Linux-31] bash: commande introuvable
  • Date: Wed, 20 May 2020 09:01:47 +0200
  • Disposition-notification-to: jpcas <jpcas AT free.fr>

Le 20/05/2020 à 08:16, Christophe VANHOUTTE (via linux-31 Mailing List)
a écrit :
> C'est mieux avec ton info, par contre pourquoi le 'su' ne fonctionne
> plus du coup ?
> avant pas besoin de ''su -''

https://wiki.debian.org/NewInBuster


The su command in buster is provided by the util-linux source package,
instead of the shadow source package, and no longer alters the PATH
variable by default. This means that after doing su, your PATH may not
contain directories like /sbin, and many system administration commands
will fail. There are several workarounds:

Use su - instead; this launches a login shell, which forces PATH to
be changed, but also changes everything else including the working
directory.



Archives gérées par MHonArc 2.6.19+.

Haut de le page