[EMAIL PROTECTED] wrote:
> On Tue, 20 Feb 2007, Jeffrey Altman wrote:
>
>> [EMAIL PROTECTED] wrote:
>>
>>> Is there a way to redirect stderr from kinit/klist to a file?
>>
>> stdin and stderr cannot be redirected.  they are used for password
>> prompting
>
> Hmmm.... but I'm not trying to redirect the password prompt... in
> fact, kinit won't let me redirect the password prompt, it still
> displays it in the shell (NOT as a Windows dialog):
>
>   C:\> kinit 2>err.our
>   Password for [EMAIL PROTECTED]:

I managed to redirect the password prompt:

(Not sure if this is a feature or a bug.)

C:\>kinit cclausen 2>&1 1>kinit.txt
C:\>cat kinit.txt
Password for [EMAIL PROTECTED]:
C:\>

<<CDC 


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to