[27491] 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 (petesea@bigfoot.com)
Thu Feb 22 16:10:38 2007

Date: Thu, 22 Feb 2007 13:09:10 -0800 (Pacific Standard Time)
From: petesea@bigfoot.com
In-reply-to: <6.1.2.0.0.20070220220824.01e0fec0@unccmail.uncc.edu>
To: Rodney M Dyer <rmdyer@uncc.edu>
Message-id: <Pine.WNT.4.64.0702221306240.492@oberon.home.org>
MIME-version: 1.0
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Tue, 20 Feb 2007, Rodney M Dyer wrote:

> At 11:43 PM 2/19/2007, petesea@bigfoot.com wrote:
>> Is there a way to redirect stderr from kinit/klist to a file?
>
> I think it is simply a bug in the prompter code.  I saw this problem a few
> years ago and was annoyed, and just worked without the error string by using...
>
>      kinit username || (
>           echo failed.
>         exit /b 1
>      )

The problem is I want to capture the error message so I have some clue why 
the command failed.

> I think it is a bug because there's nothing wrong with writing stderr to 
> a file.

I agree.

> The MIT people simply don't want you to be able to pipe in a password to 
> kinit via "stdin", which is the right security practice (in security 
> circles),

Ok.. that's fine, but I'm not talking about re-directing stdin, I'm only 
talking about re-directing stderr.
________________________________________________
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