[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Login problem



On Wed, Jan 16, 2002 at 05:59:15PM +0100, Pietro Cagnoni wrote:

> > No, they can be buffered on the terminal. Try typing at 'sleep 5; cat
> > </dev/tty' if you don't believe me.
> 
> hm - right, but login plays a lot with the terminal (it has to disable
> echo for instance), so maybe it flushes the buffer before to read the
> password - must read the source!

Yeah, that's probably why it doesn't behave as expected. ssh's
readpassphrase() function behaves in much the same way.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: