Bug 230873 - kdesu kdesud configuration not possible
Summary: kdesu kdesud configuration not possible
Status: CONFIRMED
Alias: None
Product: kdesu
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 20:43 UTC by Barry Jackson
Modified: 2021-03-09 23:42 UTC (History)
2 users (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 Barry Jackson 2010-03-15 20:43:26 UTC
Version:           Qt: 4.5.3 KDE: 4.3.2 (KDE 4.3.2) KDE su: 1.0 (using KDE 4.3.2)
OS:                Linux
Installed from:    Mandriva RPMs

According to :
khelpcenter help:/kdesu/configuration.html
the configuration of password timeout should be set in kcmkdesu. 
This does not seem to exist, so how can the timeout be set?
Comment 1 Oswald Buddenhagen 2010-11-06 23:46:12 UTC
there is a Timeout option in the [Passwords] section of kdesurc.
there is obviously no kcmkdesu, so this is apparently outdated documentation (or the feature was never actually implemented).
Comment 2 Barry Jackson 2010-11-07 01:16:09 UTC
>there is a Timeout option in the [Passwords] section of kdesurc.
OK - so where is that?
>there is obviously no kcmkdesu
Why is this obvious? I am just a user trying to use kdesu as intended and following the documentation as it exists.
> so this is apparently outdated documentation
> (or the feature was never actually implemented).
OK, but I am still no wiser. Where is kdesurc ? 
It does not exist on my system. (According to Dolphin "find file")
I am currently running KDE 4.5.2
Comment 3 Oswald Buddenhagen 2010-11-07 10:16:52 UTC
$HOME/.kde/share/config/kdesurc

you can just run
   kwriteconfig --file kdesurc --group Passwords --key Timeout <value>
the value is in seconds; the default are two hours.
Comment 4 Barry Jackson 2010-11-07 12:41:56 UTC
(In reply to comment #3)
> $HOME/.kde/share/config/kdesurc
> 
> you can just run
>    kwriteconfig --file kdesurc --group Passwords --key Timeout <value>
> the value is in seconds; the default are two hours.

Thanks - that now works correctly in kde-4.3.5 and it does now remember the password and not ask again.

However, in kde-4.5.2 and above the kdesu binary does not appear to exist, so that launchers made with "run as different user" checked, use a "kde su" dialog without the "remember password" option.

[baz@jackodesktop ~]$ kdesu
bash: kdesu: command not found
[baz@jackodesktop ~]$ whereis kdesu
kdesu:
[baz@jackodesktop ~]$ plasma-desktop --version
Qt: 4.7.0
KDE Development Platform: 4.5.2 (KDE 4.5.2)
Plasma Workspace: 0.3

What has happened to kdesu ?
Comment 5 Oswald Buddenhagen 2010-11-07 13:39:14 UTC
kde4 doesn't install kdesu into the user's path at all (that decision may be revised; reports already exist). if anything changed for you recently, then only because your distributor changed something or you changed the distribution method as a whole.
but that's unrelated and doesn't belong into this report.
Comment 6 Justin Zobel 2021-03-09 23:42:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.