Skip to content

Instantly share code, notes, and snippets.

@sarjarapu
Created October 5, 2018 04:43
Show Gist options
  • Save sarjarapu/a3513a7bdc4da6807fde617e3b3fd4c1 to your computer and use it in GitHub Desktop.
Save sarjarapu/a3513a7bdc4da6807fde617e3b3fd4c1 to your computer and use it in GitHub Desktop.
A bash script to help you create the Kerberos keytab file
sudo ktutil
# ktutil:
# Run the below commands at ktutil prompt
addent -password -p mongodb/mdb01.mdbkrb5.net -k 2 -e aes256-cts
# Password for mongodb/[email protected]:
write_kt /var/lib/mongo/private/mon01.keytab
q
@StefanWetterActiware
Copy link

That works?
Not over here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment