Bug 25690

Summary: kdesu confused by extra output after successful authentication
Product: [Applications] kdesu Reporter: rayner
Component: generalAssignee: kdesu bugs tracker <kdesu-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: meltnerm, tyrerj
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 4.5.4

Description rayner 2001-05-14 03:40:34 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdesu
Version:           1.0 (using KDE 2.1.1 )
Severity:          wishlist
Installed from:    Mandrake RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

If you run a script in profile or bashrc such as:
/usr/games/fortune
kdesu will not function but says incorrect password.
The fortune program sends text to the console that kdesu
must be processing as the password rather then what you
type in.

(Submitted via bugs.kde.org)
Comment 1 Oswald Buddenhagen 2010-11-06 14:45:57 UTC
*** Bug 183671 has been marked as a duplicate of this bug. ***
Comment 2 James Richard Tyrer 2010-11-06 15:57:29 UTC
This is a KDE-2 bug from 2001.  Since it is like 9 years old, it should probably be closed.
Comment 3 Oswald Buddenhagen 2010-11-06 17:19:44 UTC
SVN commit 1193637 by ossi:

don't let extra output confuse us

we already assume that getting EOF instead of a stub signature is an
authentication failure. actively rejecting all extra output on top of
that does in fact break things if PAM or some login script prints
something before the stub is executed.

BUG: 25690
FIXED-IN: 4.5.4

 M  +0 -7      su.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1193637