Bug 433856 - When launching a script with kdesu, running commands as a non-root user will fail
Summary: When launching a script with kdesu, running commands as a non-root user will ...
Status: REPORTED
Alias: None
Product: kdesu
Classification: Applications
Component: kdesud (other bugs)
Version First Reported In: 1.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-02 12:53 UTC by Hitman47
Modified: 2021-03-02 12:53 UTC (History)
0 users

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 Hitman47 2021-03-02 12:53:14 UTC
(They work if I launch the script with sudo, su, gksudo or zensu)

SUMMARY


STEPS TO REPRODUCE
1. kdesu -c "the script"
2. Within the script, have commands such as "sudo su -c 'command' user" or "su -s ...login info..." if login is needed
3. Those commands won't run. If I use any other root aquisition method other than kdesu, they will.

OBSERVED RESULT

Empty message in bash -x, nothing executes, there's something with kdesud but i lack debugging knowledge

EXPECTED RESULT

specified above

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21 but 5.20 was the same
KDE Frameworks Version: 5.79
Qt Version: 5.15

ADDITIONAL INFORMATION
-