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

Rob Crittenden rcritten at redhat.com
Wed Sep 17 18:35:56 UTC 2008


Simo Sorce wrote:
> 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
> 

pushed to master
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080917/c55dca0b/attachment.bin>


More information about the Freeipa-devel mailing list