Version: (using KDE 4.4.2) Installed from: openSUSE RPMs Reproducibility: Always Steps to reproduce: 1. Make sure ~/.bashrc outputs something to stdout or stderr. For example, it could contain the following line: echo foo 2. Run kdesu and enter your root password. Observed behaviour: 3. kdesu rejects the root password and reprompts. Meanwhile the following is output to console: $ kdesu echo foobar kdesu(6522) KDESu::PtyProcess::exec: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/process.cpp : 295 ] Running "/bin/su" kdesu(6522) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/su.cpp : 259 ] Read line "Password: " kdesu(6522) KDESu::PtyProcess::exec: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/process.cpp : 295 ] Running "/bin/su" kdesu(6522) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/su.cpp : 259 ] Read line "Password: " kdesu(6522) KDESu::PtyProcess::WaitSlave: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/process.cpp : 381 ] Child pid 6530 kdesu(6522) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/su.cpp : 259 ] Read line "" kdesu(6522) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.2/kdesu/su.cpp : 259 ] Read line "foo" kdesu_stub $ Expected behaviour: 3. kdesu should not be sensitive to data printed to stdout or stderr by ~/.bashrc
*** This bug has been marked as a duplicate of bug 183671 ***
Created attachment 53187 [details] Fix for Bug 232617 & Bug 183671 This should fix both: Bug 232617 for "You have new mail." Bug 183671 for "Last login:" I am not able to test it for Bug 183671.
*** Bug 232617 has been marked as a duplicate of this bug. ***