Re: Problème de PATH avec sudo

Startseite

Nachricht beantworten
Autor: Christian Marillat
Datum:  
To: guilde
Betreff: Re: Problème de PATH avec sudo
Frédéric <frederic.mantegazza@???> writes:

> Bonsoir,


Bonsoir,

[...]

> Pourquoi le PATH n'est-il plus bon ?


De l'utilité d'installer le paquet apt-listchanges.

Dans /usr/share/doc/sudo/NEWS.Debian.gz :

,----
| sudo (1.7.4p4-2) unstable; urgency=low
| 
|   The HOME and MAIL environment variables are now reset based on the
|   target user's password database entry when the env_reset sudoers option
|   is enabled (which is the case in the default configuration).  Users
|   wishing to preserve the original values should use a sudoers entry like:
|      Defaults env_keep += HOME
|   to preserve the old value of HOME and
|      Defaults env_keep += MAIL
|   to preserve the old value of MAIL.
| 
|   The change in handling of HOME is known to affect programs like pbuilder.
| 
|  -- Bdale Garbee <bdale@???>  Wed, 08 Sep 2010 14:29:16 -0600

`----

Christian
-- 
       MicroRepair - Assistance et cours - Informatique à domicile
   Tél. 09.50.76.18.28 - Tél. mobile 06.75.39.34.97 Fax. 09.55.76.18.28
             http://www.microrepair.fr - contact@???