KfW 3.1: Re-directed stderr of kinit/klist displays dialog
Christopher D. Clausen
cclausen at acm.org
Tue Feb 20 19:29:39 EST 2007
petesea at bigfoot.com wrote:
> On Tue, 20 Feb 2007, Jeffrey Altman wrote:
>
>> petesea at bigfoot.com 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 bozo at CLOWN.COM:
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 cclausen at AD.UIUC.EDU:
C:\>
<<CDC
More information about the Kerberos
mailing list