[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdesu
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-07-30 15:55:58
[Download RAW message or body]

CVS commit by lunakl: 

Allow session management also for apps running under different user.
The point of restoring a session is to make it the same like when saving
the session as much as possible, after all.
The app indeed knows its restore command, just like when running normally,
the session manager should take care of running it under the right user,
and checking the password.


  M +1 -8      kdesu_stub.c   1.40


--- kdelibs/kdesu/kdesu_stub.c  #1.39:1.40
@@ -373,11 +373,4 @@ int main()
     }
 
-    /* Don't do session management with kdesu apps. I think this is the
-     * best thing to do. I would be potentially insecure, it is unclear to
-     * me how the app can ever know its restart command and it would require 
-     * the user to enter passwords at startup of a session. */
-
-     xsetenv("SESSION_MANAGER", "none");
-
     /* Rebuild the sycoca and start kdeinit? */
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic