Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when
	either fd 0, 1 or 2 is not a tty
    Robert Millan 
    rmh at aybabtu.com
       
    Tue Oct 11 08:48:36 UTC 2005
    
    
  
On Tue, Oct 11, 2005 at 06:40:02AM +0200, Christian Perrier wrote:
> 
> Funnily, stdin can still be used as input to chfn (and, I guess, chsh)
> as I showed in my example. The output is a bit ugly because the
> prompts are still sent to stdout, but it does the job.
> 
> I propose closing this bug report.
No, there's a bug that needs fixing.  And as said before the fix is as simple
as adding an fflush call.
Did you see the patch I just sent?
-- 
Robert Millan
    
    
More information about the Pkg-shadow-devel
mailing list