[27481] in Kerberos

home help back first fref pref prev next nref lref last post

Re: KfW 3.1: Re-directed stderr of kinit/klist displays dialog

daemon@ATHENA.MIT.EDU (Christopher D. Clausen)
Tue Feb 20 19:30:45 2007

Message-ID: <97F96119BA16470C8888F532146DBE16@CDCHOME>
From: "Christopher D. Clausen" <cclausen@acm.org>
To: <kerberos@mit.edu>
Date: Tue, 20 Feb 2007 18:29:39 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

petesea@bigfoot.com wrote:
> On Tue, 20 Feb 2007, Jeffrey Altman wrote:
>
>> petesea@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@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@AD.UIUC.EDU:
C:\>

<<CDC 


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

home help back first fref pref prev next nref lref last post