On Tue, 20 Feb 2007, Rodney M Dyer wrote: > At 11:43 PM 2/19/2007, [EMAIL PROTECTED] 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