[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting kadmin

dtennant@panasas.com writes:

> I was wondering if there was any way to create a script to bring up
> a kerberos realm?

Well, you can do stuff with kadmin from the command line.

> I'd be running this on a secure system, so it wouldn't be a problem
> to have cleartext passwords in the script or anything like that.

Is the kdc living on the same machine? If not, the easiest way is
probably to create a principal that can do kadmin operations, and then
add that principal's key to a keytab. If the kdc is local, just use
the -l flag to kadmin.