[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: Re: firewalld and root password
From: "Carlos E. R." <robin.listas () telefonica ! net>
Date: 2022-09-18 10:58:13
Message-ID: de76f929-a10b-ea92-65f7-bedd3d21ea6b () telefonica ! net
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
[Attachment #4 (text/plain)]
On 2022-09-18 00:18, Marc Chamberlin wrote:
> On 9/17/22 10:59, Carlos E. R. wrote:
>>
>>
>> On Saturday, 2022-09-17 at 10:37 -0700, Marc Chamberlin wrote:
>> > On 9/17/22 04:38, Carlos E.R. wrote:
>> >> On 2022-09-17 10:10, Marc Chamberlin wrote:
>>
>> ...
>>
>> > Thank you Carlos for your thoughts! Here is what I think is the
>> relevant output from the ps command you suggested -
>> >> marc 26450 0.4 0.2 2246840 89328 ? Sl 10:06 0:02 \_
>> /usr/lib64/libexec/kf5/kdesu -u root -c /usr/bin/firewall-config
>> >> root 26500 0.0 0.0 92096 6920 pts/21 Ss+ 10:07 0:00 \_
>> /usr/bin/su root -c /usr/lib64/libexec/kf5/kdesu_stub -
>> >> root 26503 0.0 0.0 4772 1712 pts/21 S+ 10:07
>> 0:00 \_ /usr/lib64/libexec/kf5/kdesu_stub
>> >> root 26506 1.7 0.2 673492 80624 ? Ssl 10:07
>> 0:09 \_ /usr/bin/python3 /usr/bin/firewall-config
>> > To my untrained eyes, it looks like firewall-config is running under
>> the root user. Why it constantly nags me for the root password, and
>> not others, is beyond my ability to grok.
>>
>> Yes, it seems to be running correctly.
>>
>> Try then using it in a terminal:
>>
>> su -
>> firewall-config &
>
> Hmm that seems to work, so far no badgering me for a password every time
> I glance side-wise! While this may be a workaround, the question
> remains, why doesn't it work from the application menu, when set up to
> run as user root?
The funny thing is that kdesu call su.
Initial command:
/usr/lib64/libexec/kf5/kdesu -u root -c /usr/bin/firewall-config
This calls:
/usr/bin/su root -c /usr/lib64/libexec/kf5/kdesu_stub -
then
/usr/lib64/libexec/kf5/kdesu_stub
then
/usr/bin/python3 /usr/bin/firewall-config
> I for one prefer well designed GUIs to command lines because GUI's can
> serve as a guide. Command lines require me to remember the exact
> spellings of the incantations (ugh, firewall-config v.s.
> firewalld-config for example 😛), and often a vast selection of options
> and parameters, formats, etc that require hours to grok, hunt, and
> figure out combinations that will or will not work together.
I understand, but over the years I see less problems using su that GUI
equivalents. Now and then pops one.
>
> I will use the command line under su - and wait for confirmation and
> info on where to submit a bug report, if told to do so...
Not knowing if it is a kdesu issue or firewalld issue...
--
Cheers / Saludos,
Carlos E. R.
(from 15.3 x86_64 at Telcontar)
["OpenPGP_signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic