[linux-l] Gdebi funktioniert nicht mehr bei Notebook und Tower-PC

Norman Steinbach norm at nsteinbach.de
Fr Aug 2 23:28:32 CEST 2019

On 02.08.2019 22:46, et wrote:
> https://wiki.debian.org/NewInBuster
> Sektion Changes

Ah, da steht's ja:

> 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.
>     Use sudo instead. sudo still runs commands with an altered PATH variable.
>         To get a regular root shell with the correct PATH, you may use sudo -s.
>         To get a login shell as root (equivalent to su -), you may use sudo -i. 
>     Put ALWAYS_SET_PATH yes in /etc/login.defs to get an approximation of the old behavior.
>     Put the system administration directories (/sbin, /usr/sbin, /usr/local/sbin) in your regular account's PATH (see EnvironmentVariables for help with this). 

Die Umgebungsvariable für PATH wird bei einem einfachen "su" Befehl also 
nicht mehr geändert. Interessant, solche Kleinigkeiten.

Danke für den Hinweis - wenn ich meinen HomeServer endlich auch 
irgendwann mal auf aktualisiere, dann ist es gut, das zu wissen :)

Mehr Informationen über die Mailingliste linux-l