kdesu "Remember password" setting

The “Remember password” box in the kdesu privileges dialog is checked by default. I have not been able to find a way to reverse this behavior. I could use the “-n” flag for kdesu but I don’t want the checkbox to disappear completely, but just to have its default behavior to be unchecked. Is this doable?

openSUSE 13.2 x86_64, KDE desktop

Yes.

Edit ~/.kde4/share/config/kdesurc and set “Keep” to false.
If the file doesn’t exist, create it with this content:

[Passwords]
Keep=false

To do the same for all users, create a file /etc/kde4/share/config/kdesurc with that content.
But be aware that this only sets the default. An existing ~/.kde4/share/config/kdesurc will override this.

1 Like