On Fri, 2008-09-12 at 16:31 -0400, Rob Crittenden wrote: > getpass.getpass() requires a tty to work so it prevents one from > doing > something like: echo "password" | some_program > > Detect if there is not a tty and use readline() instead so this will > work. ack -- Simo Sorce * Red Hat, Inc * New York