Bug 433856

Summary: When launching a script with kdesu, running commands as a non-root user will fail
Product: [Applications] kdesu Reporter: Hitman47 <jchristisking>
Component: kdesudAssignee: kdesu bugs tracker <kdesu-bugs-null>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 1.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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
-