>From: Paul Johnson <[EMAIL PROTECTED]>
>Subject: Scripting kadmin
>Date: Mon, 19 Nov 2001 12:00:01 GMT
>To: [EMAIL PROTECTED]

...

>This would seem to mean calling kadmin and getting the
>administrator to authenticate.  But I can't get it to work. kadmin
>seems not to be reading the admin password from stdin.  Presumably
>its being careful about only reading it from a terminal (sensible).
>So how do I do this?  Is there a way?  Or am I just going to have
>to write a HOWTO instruction list telling the administrator to type
>in the kadmin runes?

For similar scripting we use perl programs that use the perl Expect
module.  I've perl/Expect scripts running on a KerberosIV server to
bulk add principals etc.  The Expect module was (I guess) inspired
by Done Libes' expect program.  We also have a few scripts that use
that.

Reply via email to