Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set timeout for kdesu on slack 13.37?

17 views
Skip to first unread message

Peter Chant

unread,
Feb 2, 2012, 6:25:21 PM2/2/12
to
Any idea where I set this? I can't find the relevent rc file and googling
points to 3.5 stuff.

KDE bashers need not apply...

Pete


--
http://www.petezilla.co.uk

Sylvain Robitaille

unread,
Feb 3, 2012, 1:34:41 AM2/3/12
to
On Thu, 02 Feb 2012 23:25:21 +0000, Peter Chant wrote:

> Any idea where I set this? I can't find the relevent rc file and
> googling points to 3.5 stuff.

Are you sure it has such a setting? There's no mention of it in either
the manual page (man kdesu), or the slightly more complete KDE help page
(khelpcenter help:/kdesu).

--
----------------------------------------------------------------------
Sylvain Robitaille s...@encs.concordia.ca

Systems analyst / AITS Concordia University
Faculty of Engineering and Computer Science Montreal, Quebec, Canada
----------------------------------------------------------------------

Aragorn

unread,
Feb 3, 2012, 4:57:42 AM2/3/12
to
On Friday 03 February 2012 07:34, Sylvain Robitaille conveyed the
following to alt.os.linux.slackware...

> On Thu, 02 Feb 2012 23:25:21 +0000, Peter Chant wrote:
>
>> Any idea where I set this? I can't find the relevent rc file and
>> googling points to 3.5 stuff.
>
> Are you sure it has such a setting? There's no mention of it in
> either the manual page (man kdesu), or the slightly more complete KDE
> help page (khelpcenter help:/kdesu).

Normally, if KDE asks you to authenticate with the root password for a
particular GUI tool, it'll show an icon in the system tray - on my
system, that's a yellow icon in the form of a shield. This icon is for
the policykit settings, and I believe you can set a timeout there, or at
least, certain settings with regard to the necessity to authenticate or
not for the next root-level task.

Don't know whether this helps, but it might be worth checking. ;-)

--
= Aragorn =
(registered GNU/Linux user #223157)

Peter Chant

unread,
Feb 3, 2012, 1:58:07 PM2/3/12
to
Sylvain Robitaille wrote:


>
> Are you sure it has such a setting? There's no mention of it in either
> the manual page (man kdesu), or the slightly more complete KDE help page
> (khelpcenter help:/kdesu).
>

Ominously my post here showed up as the forth hit on google...

I've found some old references to kdesurc being used for setting the
timeout, or a non-existent kcmkdesu.

http://old.nabble.com/-Bug-230873--New%3A-kdesu-kdesud-configuration-not-
possible-td27909400.html

However, in another site:

http://lists.mandriva.com/cooker/2010-11/msg00212.php

kwriteconfig --file kdesurc --group Passwords --key Timeout <value>

[Passwords]
Timeout=600

Not sure that it does anything useful however - I'll have to try logging in
and out to see if that makes it work.



--
http://www.petezilla.co.uk

Sylvain Robitaille

unread,
Feb 3, 2012, 3:43:47 PM2/3/12
to
On Fri, 03 Feb 2012 18:58:07 +0000, Peter Chant wrote:

> http://lists.mandriva.com/cooker/2010-11/msg00212.php
>
> kwriteconfig --file kdesurc --group Passwords --key Timeout <value>
>
> [Passwords]
> Timeout=600
>
> Not sure that it does anything useful however - I'll have to try
> logging in and out to see if that makes it work.

It's worth trying, I suppose, but I wouldn't expect it to work.
"strings" on both kdesu and kdesud doesn't reveal any mention of a
"kdesurc" file. That's perhaps not conclusive by itself (heck we
*could* just read the code for kdesu, after all, but that would feel
like cheating!), but it's usually reasonably reliable.

Peter Chant

unread,
Feb 5, 2012, 6:03:57 AM2/5/12
to
Aragorn wrote:


>
> Normally, if KDE asks you to authenticate with the root password for a
> particular GUI tool, it'll show an icon in the system tray - on my
> system, that's a yellow icon in the form of a shield. This icon is for
> the policykit settings, and I believe you can set a timeout there, or at
> least, certain settings with regard to the necessity to authenticate or
> not for the next root-level task.
>
> Don't know whether this helps, but it might be worth checking. ;-)
>

Hmm, I'm going to sound like an idiot now perhaps. I just checked the
script that calls up kdesu only to find it does not call it up. It seems
truecrypt is generating its own dialog to allow it to mount and unmount. I
could have sworn I was using kdesu - I must have been thinking of another
script!

Pete


--
http://www.petezilla.co.uk
0 new messages