KfW 3.1: Re-directed stderr of kinit/klist displays dialog
petesea@bigfoot.com
petesea at bigfoot.com
Thu Feb 22 16:09:10 EST 2007
On Tue, 20 Feb 2007, Rodney M Dyer wrote:
> At 11:43 PM 2/19/2007, petesea at 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.
More information about the Kerberos
mailing list