Bug 45267 - kdesu does NOT 'Keep Password'
Summary: kdesu does NOT 'Keep Password'
Status: RESOLVED FIXED
Alias: None
Product: kdesu
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-15 22:33 UTC by Jesse
Modified: 2008-06-18 23:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse 2002-07-15 22:29:54 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdesu
Version:           KDE 3.0.2 
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3
OS:                Linux
OS/Compiler notes: Not Specified

This is also true for 3.0 and 3.0.1
KDE su does NOT honor the 'Keep Password' checkbox.  This is both for current sessions and after logging out of KDE.

The passord is simply not remembered and is quite anoying.

(Submitted via bugs.kde.org)
Comment 1 Alan Eldridge 2002-10-16 11:24:53 UTC
Reassigned to new maintainer.
Comment 2 Jesse 2003-04-09 01:08:33 UTC
Some more information ... 
 
1) Make a new 'Link to application' on the desktop and pick an application to 
run. 
 
2) Set the application to run as a different user ... let's say 'root' 
 
3) Run the application and when the KDE su box opens up asking for the user's 
password go ahead and type it in and click the 'Keep password' box 
 
4) Shut the app down and then try to run the application again.  It didn't 
remember that you wanted to keep the password. 
 
Am I missing another security option somewhere buried in KControl or 
something to allow the saving of passwords? 
Comment 3 Jure Repinc 2003-06-07 17:15:05 UTC
This is still not fixed in KDE 3.1.2.
Comment 4 Chris 2003-06-15 01:53:21 UTC
It did keep passwords in the KDE shipped with SuSE 8.1 but it again won't remember 
them with the KDE shipped with SuSE 8.2 (3.1.1) 
 
However, when I run kdesu from within Konsole it does remember the password! 
Comment 5 Alex Radu 2003-08-02 08:43:34 UTC
Annoying, I agree, it really makes KDE look unprofesssional. But, what bothers
me jsut as much is that KDE will still ask me for a password when I have
specifically set an empty password. Check it out here:
http://bugs.kde.org/show_bug.cgi?id=60200

Too bad, the KDE developers said they can't fix it because if they made it work
like it should it would be insecure and if they fixed it properly they would
have to change the entire system which would take very very long. I still home
that they somehow missed a solution to that problem, but I doubt it.
Comment 6 Jure Repinc 2003-08-30 14:11:51 UTC
Any news about this bug? When can we expect the solution?
Comment 7 Waldo Bastian 2003-09-10 15:29:07 UTC
Subject: kdebase/kdesu/kdesud

CVS commit by waba: 

Ignore KDE_STARTUP_ENV when checking environment for changes.
CCMAIL: 45267-done@bugs.kde.org


  M +204 -203  handler.cpp   1.21


--- kdebase/kdesu/kdesud/handler.cpp  #1.20:1.21
@@ -1,4 +1,3 @@
-/* vi: ts=8 sts=4 sw=4
- *
+/*
  * $Id$
  *
@@ -247,4 +247,5 @@ int ConnectionHandler::doCommand(QCStrin
                QCString env_str = l->lval();
                env.append(env_str);
+               if (strncmp(env_str, "KDE_STARTUP_ENV=", strlen("KDE_STARTUP_ENV=")) != 0)
                env_check += "*"+env_str;
                tok = l->lex();