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

Bug#950537: marked as done (lxterminal: wrong default PATH for superuser)



Your message dated Mon, 03 Feb 2020 17:39:31 +0100 (CET)
with message-id <5e.L5}A.CJXNr05fq{.1UE4p3@seznam.cz>
and subject line Re: Bug#950537: lxterminal: wrong default PATH for superuser
has caused the Debian Bug report #950537,
regarding lxterminal: wrong default PATH for superuser
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
950537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950537
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lxterminal konsole
Version: 0.3.2-1
Severity: normal

Dear Maintainer,

By working in KDE/LXDE: start lxtermial or konsole. Then 
$ su 
# echo $PATH 
gives:
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games; 

what is the same as for nonsuperuser. Hence superuser must type the fullpath like: 
# /sbin/ifconfig
This behavior started in Buster, and is observerd in Bullseye, too. 
If working in real console (text mode without KDE/LXDE), the superuser PATH is correct.
I made my own patch by adding a next row to .bashrc:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

This was not observed in Debian 9 - stretch. 
I didnot tested other GUI (gnome ...)
I didnot tested other xterminals (UXterm ...)
But the described behaviour may be the same.

Thanks for your attention

Jan

-- System Information:
Debian Release: 10.0 (11, too)
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxterminal depends on:
ii  libatk1.0-0          2.30.0-2
ii  libc6                2.28-10
ii  libcairo-gobject2    1.16.0-4
ii  libcairo2            1.16.0-4
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libglib2.0-0         2.58.3-2
ii  libgnutls30          3.6.7-4
ii  libgtk-3-0           3.24.5-1
ii  libpango-1.0-0       1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  libpcre2-8-0         10.32-5
ii  libvte-2.91-0        0.54.2-2
ii  zlib1g               1:1.2.11.dfsg-1

lxterminal recommends no packages.

lxterminal suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Thanks. Jan

---------- Původní e-mail ----------

Od: Bernhard Übelacker <bernhardu@mailbox.org>

Komu: Schweik Josef <Josef.Schweik@seznam.cz>

Datum: 3. 2. 2020 16:08:10

Předmět: Re: Bug#950537: lxterminal: wrong default PATH for superuser

Hello Jan,

please leave the bugs email in the recipients or cc list to

have all information attached to the bug e.g. by using "reply all".



Nice to hear it works.

You can close a bug by just changing the email recipient from

'950537@bugs.debian.org' to '950537-done@bugs.debian.org'.



Kind regards,

Bernhard







Am 03.02.20 um 15:55 schrieb Schweik Josef:

> Well, you are quite correct, "su -" is working fine!

> ...

>

> Thanks. Jan

>

> Please, how can I close this bug report?

>

> 

--- End Message ---

Reply to: