Monday, 3 December 2018

Kerberos and Red Hat Enterprise Linux - Now friends

Following a number of previous posts, including: -

I was looking for, and failing to find, utilities such as ktutil and ktlist on my RHEL 7.6 box.

Of course, I was holding it wrong.

I was missing the Kerberos (KRB5) tooling: -

yum install -y  krb5-libs
yum install -y  krb5-server
yum install -y  krb5-workstation

specifically the last of the three.

Thanks to this: -

for pointing out the error of my ways.

Now I have this: -

ls -al `which ktutil`

-rwxr-xr-x 1 root root 23784 Aug  1 20:34 /bin/ktutil

so I can do this: -

rkt() { echo -e "read_kt $1\nlist\nquit" | ktutil | grep -v "^ktutil:";}

rkt /mnt/ 

ktutil:  read_kt /mnt/
slot KVNO Principal
---- ---- ---------------------------------------------------------------------
   1    4                   HTTP/

No comments:

Grokking grep

A colleague was tinkering with grep  and, thanks to him, I discovered a bit more about the trusty little utility. I had not really explored ...