[Freeipa-devel] [PATCH] allow passwords to work without a tty

Simo Sorce ssorce at redhat.com
Wed Sep 17 15:38:38 UTC 2008


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




More information about the Freeipa-devel mailing list