Hi @rizalt
The error is because you have not provided keytab path here the command should look like below:
> klist -k example.keytab
To create the keytab you can refer any of below steps:
$ ktutil
ktutil: addent -password -p myusername@FEDORAPROJECT.ORG -k 42 -f
Password for myusername@FEDORAPROJECT.ORG:
ktutil: wkt /tmp/kt/fedora.keytab
ktutil: q
Then
kinit -kt /tmp/kt/fedora.keytab myusername@FEDORAPROJECT.ORG
Note: Replace the username and REALM as per your cluster configurations.
Regards,
Chethan YM