[38902] in Kerberos
Is there a "batchable" way to do ktutil list
daemon@ATHENA.MIT.EDU (Dan Mahoney (Gushi))
Wed Apr 21 03:59:31 2021
Date: Wed, 21 Apr 2021 00:56:39 -0700 (PDT)
From: "Dan Mahoney (Gushi)" <danm@prime.gushi.org>
To: kerberos@mit.edu
Message-ID: <fdbc2f7f-9311-a240-4b6a-4345c129d5c0@prime.gushi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
All,
Dayjob has a puppet fact that, under freeBSD, uses "ktutil list" to get
the kvno of a given host. This works great because the heimdal kerberos
that's built into freeBSD is what we like to parse. It takes a -k
argument to specify a keytab file.
Linux is another story. Under ubuntu, the mit version of ktutil gets
installed, and I can't figure out how to script it easily. There are no
documented ways to pass an arg, or even to print the version. (We can
glean it by looking at installed packages).
Is there another command that is more script-friendly? If not, can
someone share a good way to pass args to the MIT ktutil?
-Dan
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
FB: fb.com/DanielMahoneyIV
LI: linkedin.com/in/gushi
Site: http://www.gushi.org
---------------------------
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos