[4155] in Kerberos

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

Re: Adding Users en mass

daemon@ATHENA.MIT.EDU (Mike Friedman (510) 642-1410)
Tue Nov 8 22:47:10 1994

To: kerberos@MIT.EDU
Date: Tue, 08 Nov 94 09:10:11 PST
From: spgmnf@cmsa.Berkeley.EDU (Mike Friedman (510) 642-1410)

In article <39o5o9$7rh@merlin.nando.net>
chall@nando.net (Charles Hall) writes:
 
>
>Is there an easy way to import a list of users and passwords into Kerberos?
>I tried just piping output to kadmin, but it doesn't seem to accept the
>passwords from a pipe.  Am I also correct that there is no way to force
>Kerberos to show me the passwords it has in clear text? That at least might
>help me debug the pipe problem. I found "build_pwfile" on the dist. but I
>can't figure out what it does (even after reading the source!).
>
There's no *builtin* way to run kadmin in 'batch'.  I had to write an expect
script to interact with kadmin.  My script reads an input file of principal/
password pairs and feeds them as responses to the kadmin prompts.  By its
very nature, expect (a tcl application) is well-suited to this task, since
it uses pseudo-tty's which can talk to any existing application that thinks
it's interacting with an actual terminal.  Certainly kadmin, because of the
way it does password prompting, fits into this category.

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