Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to make krb5.keytab
Labels:
- Labels:
-
Kerberos
Rising Star
Created ‎06-11-2024 06:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everyone, can help me
How to create keytab krb5.keytab in kerberos ?
when I list keytab use " klist -k" show error like below
root@master1:~# klist -k
Keytab name: FILE:/etc/krb5.keytab
klist: Key table file '/etc/krb5.keytab' not found while starting keytab scan
1 REPLY 1
Master Collaborator
Created ‎06-11-2024 10:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
