Created
October 5, 2018 04:43
-
-
Save sarjarapu/a3513a7bdc4da6807fde617e3b3fd4c1 to your computer and use it in GitHub Desktop.
A bash script to help you create the Kerberos keytab file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That works?
Not over here...