Package: login Version: 1:4.13+dfsg1-1 Followup-For: Bug #1026846 It seems that being part of the `sudo` group isn't causing the issue. I've created a temporary user, logged into my DE with it and observed that PATH was set to the expected value.
One interesting thing I've noticed is that if I log into my computer with a text-only session (on e.g. tty3), PATH is set to the correct value. As this seems now relevant, I'm running the latest version of GNOME available in Testing; it's a fairly minimal install. gnome-core is not installed, but I've manually installed pretty much everything apart from the software store and a couple of things I do not need; here's what's not present: $ apt depends gnome-core | grep Depends | tr ' ' '\n' | grep '[[:alpha:]]' | grep -vE '\)|:' | tr ',' ' ' | xargs apt -qq list | grep -v installed | cut -d / -f 1 | tr '\n' ' ' at-spi2-core baobab evolution-data-server gnome-bluetooth-sendto gnome- console gnome-contacts gnome-font-viewer gnome-logs gnome-shell-extensions gnome-software gnome-sushi gnome-system-monitor gnome-terminal gnome-themes- extra gnome-user-docs gnome-user-share gstreamer1.0-packagekit libatk-adaptor nautilus totem tracker yelp -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.0.0-6-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages login depends on: ii libaudit1 1:3.0.7-1.1+b2 ii libc6 2.36-6 ii libcrypt1 1:4.4.33-1 ii libpam-modules 1.5.2-5 ii libpam-runtime 1.5.2-5 ii libpam0g 1.5.2-5 login recommends no packages. login suggests no packages. -- no debconf information