[38916] in Kerberos

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

Re: Is there a "batchable" way to do ktutil list

daemon@ATHENA.MIT.EDU (Robbie Harwood)
Mon May 3 11:22:28 2021

From: Robbie Harwood <rharwood@redhat.com>
To: James Ralston <ralston@pobox.com>, kerberos@mit.edu
In-Reply-To: <CAEkxbZuFyBq8a=nrtwe2Z6RZrk51ERWq3oS7ksG55i_YG1tn0A@mail.gmail.com>
Date: Mon, 03 May 2021 11:19:24 -0400
Message-ID: <jlgsg33n8ub.fsf@redhat.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5759912150841177229=="
Errors-To: kerberos-bounces@mit.edu

--===============5759912150841177229==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"

--=-=-=
Content-Type: text/plain

James Ralston <ralston@pobox.com> 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'm writing a
> finite-state automaton in shell again".

If you're using GSSAPI, you may be able to skip this entirely by using
keytabs/client keytabs:
https://web.mit.edu/kerberos/krb5-latest/doc/basic/keytab_def.html#default-client-keytab

Thanks,
--Robbie

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAmCQFHwUHHJoYXJ3b29k
QHJlZGhhdC5jb20ACgkQJTL5F2qVpELBfQ/+IW2mHRN/sbajJL38bQcuHf1RF51C
J0Q139k62iR/RKzTIE/v3wLyqzqSNQsdHboJV5YCPWnQDyr64hDUfFAG/0gQOUbb
l0CofhlyNbRFMgNy9Xe+I0KG4gjGL54kkj2TdidV0g7V/rd4OMC1ozJnR18F3ef8
P0wvvYj1gSKaZlcbqs7EH/PrtkIgvHtYGBf7iZRzIBfynh3caTFP9TwkQ1U3/t7B
KYQC1jQvhzoOd0BgtyASkwTww9PPuYgUHYcEB24qvXyjPCW+VuJ69Ea0dTFbnP7S
4GyuXbfZh6g/FoFZhoLVV0LeioysbSJpJYf/JqtY3rp4MMyM6GTKgulwUm814hbI
uz56+B/asCxNh1ENkKM0PN2NQR5hHhuB3kL1CkL7mUML7tDGolGdU7mXwHzF3ixc
1HMF3eXJ/QMYxYOVro7VisL9pdnSM8tAMgE6tSgABlK85HYwxRz6Bkzjhqf4p4Qf
HASeg/y+qfIqHpEL5/YMeP7FRd7++JCcV13jiq8fdUWmf7wBnZoS6QQXwBZWHwqH
Whl/ydUmKj7wxye0rBO1tKA0VaqYqJizVySBVFvwaFWFTWxaQ5sROktsuohDoXRq
/wMML2IWaXaT5zeN4n0AC8c+pg+qkCpdIHWKvRsJU9HB2G7/FIQ9a1mr5FumXOa8
y301KGulXgNPqcU=
=qLVR
-----END PGP SIGNATURE-----
--=-=-=--

--===============5759912150841177229==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

--===============5759912150841177229==--

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