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

List:       kde-commits
Subject:    kdelibs/kdesu
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-03-10 16:35:12
Message-ID: 20040310163512.7CC6D99A2 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Use a login shell so that the CWD of the new process always points
correctly to the $HOME of the target user. This is important when
the home directory of the original user is NFS mounted with root-squash
or otherwise not accessible.


  M +2 -1      su.cpp   1.33


--- kdelibs/kdesu/su.cpp  #1.32:1.33
@@ -79,4 +79,5 @@ int SuProcess::exec(const char *password
     else
         args += m_User;
+    args += "-l";
     args += "-c";
     args += QCString(__KDE_BINDIR) + "/kdesu_stub";


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

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