James Ralston writes:
> But still. Not being able to get machine-readable output out of klist
> turns what should be simple and useful scripting tasks, such as "scan
> the 9 different TGTs in my credential cache collection and renew any
> that expire in less than 12 hours", into "whee, I guess I
On Wed, Apr 21, 2021 at 6:42 AM Ken Hornstein wrote:
> > 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 "klist -k" does what you want. You can pass arguments to
> ktutil in a script via stdin and parse
>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 "klist -k" does what you want. You can pass arguments to ktutil
in a script via stdin and parse the output (we do that via a script),
that looks something like:
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 wa
On 21.04.2021 09:56, Dan Mahoney (Gushi) wrote:
> 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
On Wed, Apr 21 2021 at 00:56:39 -0700, Dan Mahoney (Gushi) scribbled
in "Is there a "batchable" way to do ktutil list":
> 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 in