Bug 412276 - no root access from normal user login using plasma 5.16.90
Summary: no root access from normal user login using plasma 5.16.90
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 5.16.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 13:01 UTC by olignomi
Modified: 2019-10-26 13:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description olignomi 2019-09-24 13:01:27 UTC
SUMMARY
Using OpenSuse 15.1 leap 80_x64 with plasma beta 5.16.90, logging in as a normal user without root privileges.

Using now dolphin in super user mode (/usr/bin/dbus-launch dolphin -qwindowtitle) or yast2 (/sbin/yast2), a valid root password is not accepted and the app not started.

Using the su- konsole with same valid root password, password is accepted and yast2 or dolphin in super user mode is started.


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
a valid root password is not accepted and the app not started
The bug is independent from kernel 
1) 5.3.1-1.xxx
2) 4.12.14.lp151.52.1xxx

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Betriebssystem: openSUSE Leap 15.1
KDE-Plasma-Version: 5.16.5
KDE-Frameworks-Version: 5.62.0
Qt-Version: 5.13.1
Kernel-Version: 5.3.1-1.g27a0123-default
Art des Betriebssystems: 64-bit
Prozessoren: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Speicher: 13,6 GiB Arbeitsspeicher
 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-09-24 16:01:03 UTC
This is not supported.

File managers should not be run as root.
Comment 2 olignomi 2019-09-24 16:14:04 UTC
OK, should not does not mean it is not allowed. It is and was always possible to open dolphin in super user mode.

What about the other issue about the yast2 login, which requires a root pw for a normal user?

The mentioned problem is, that in both cases the valid root pw is not accepted. In older plasma versions (e.g. 5.16.5) it works fine.
Comment 3 David Edmundson 2019-09-24 16:39:52 UTC
What makes you say that yast not starting is a plasma bug?
Comment 4 olignomi 2019-09-25 06:12:58 UTC
As of now, I run the previous described software/hardware with plasma 5.16.5.

A normal user can use the dolphin super user mode requiering the root password. After entering the pw, dolphin super user mode opens. (recommended or not)

Same for yast.

After the upgrade to plasma 5.16.90, this procedure does not work anymore. The passwordbox opens again to ask for the correct pw. I rechecked, the pw is correct.

When I return to plasma 5.16.5 everything is fine again.

Maybe I'm wrong saying plasma is the problem! If so, could you reassign it e.g. to "dolphin"?

At least, if that is the focus, an errormessage should advise not to use dolphin super user mode, instead of asking for the correct pw.

tnx
Comment 5 olignomi 2019-10-03 14:50:00 UTC
In the local folder / home / xxxuserxxx / I deleted all these files.
.xim.template .xinitrc.template .Xauthority .esd_auth
Then restarted the pc.

Now, using plasma 5.16.90, the super user mode for dolphin as well as the call of yast2 after input of the root pw without error is carried out again.

The hidden files .esd_auth and .Xauthority have been created new.

With regard to the files mentioned in the home directory, has something changed between plasma 5.16 and 5.16.90?
Comment 6 Bug Janitor Service 2019-10-18 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Christoph Feck 2019-10-22 00:48:55 UTC
> the super user mode for dolphin as well as the call of yast2 after input of the root pw without error is carried out again.

Do I understand it correctly that we can close this ticket?
Comment 8 olignomi 2019-10-26 12:53:14 UTC
I reported all the info requested within the given time. see comment 4 and 5.
If more detailed info is needed, specify it please.

Due to my own investigation, at least I solved the issue on my system. see comment 5.

If you are happy with this - close the reported.
Comment 9 David Edmundson 2019-10-26 13:03:31 UTC
I don't think there's anything we can do.

There's nothing that suggests plasma is at fault given it worked after removing some other files. Obviously if you find something, please reopen