Skip to content

barroco59/droplets

Repository files navigation

Every Drop Counts

###1. kerberos With Kerberos, by exchanging time-sensitive tickets, you can make transactions secure without sending passwords in plaintext over the network.

A keytab is a file containing pairs of Kerberos principals and encrypted keys (these are derived from the Kerberos password). You can use this file to log into Kerberos without being prompted for a password. The most common personal use of keytab files is to allow scripts to authenticate to Kerberos without human interaction, or store a password in a plaintext file.

  • keytab

  • keylist

  • kinit

  • NOTES:

      klist     #查看当前的keytab
      klist -l  #list keytab
      klist -k -t -K dcdn.keytab  #查看keytab内容
      kinit dcdn/user -k -t dcdn.keytab  #使用keytab