Is there a "batchable" way to do ktutil list

Greg Hudson ghudson at mit.edu
Wed Apr 21 05:00:46 EDT 2021


On 4/21/21 3:56 AM, Dan Mahoney (Gushi) wrote:> Dayjob has a puppet fact
that, under freeBSD, uses "ktutil list" to get
> the kvno of a given host.
[...]
> Is there another command that is more script-friendly?  If not, can 
> someone share a good way to pass args to the MIT ktutil?

I think you want klist -k.  (Dameon suggested k5srvutil; its "list"
subcommand just runs klist -k.)


More information about the Kerberos mailing list