Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 10, 2021
 
 

ktutil (1)

Name

ktutil - Kerberos keytab file maintenance utility

Synopsis

ktutil

Description

KTUTIL(1)                        MIT Kerberos                        KTUTIL(1)



NAME
       ktutil - Kerberos keytab file maintenance utility

SYNOPSIS
       ktutil

DESCRIPTION
       The  ktutil  command invokes a command interface from which an adminis-
       trator can read, write, or edit entries in  a  keytab  or  Kerberos  V4
       srvtab file.

COMMANDS
   list
          list

       Displays the current keylist.

       Alias: l

   read_kt
          read_kt keytab

       Read the Kerberos V5 keytab file keytab into the current keylist.

       Alias: rkt

   read_st
          read_st srvtab

       Read the Kerberos V4 srvtab file srvtab into the current keylist.

       Alias: rst

   write_kt
          write_kt keytab

       Write the current keylist into the Kerberos V5 keytab file keytab.

       Alias: wkt

   write_st
          write_st srvtab

       Write the current keylist into the Kerberos V4 srvtab file srvtab.

       Alias: wst

   clear_list
          clear_list

       Clear the current keylist.

       Alias: clear

   delete_entry
          delete_entry slot

       Delete the entry in slot number slot from the current keylist.

       Alias: delent

   add_entry
          add_entry {-key|-password} -p principal -k kvno -e enctype [-s salt]

       Add principal to keylist using key or password.

       Alias: addent

   list_requests
          list_requests

       Displays a listing of available commands.

       Aliases: lr, ?

   quit
          quit

       Quits ktutil.

       Aliases: exit, q

EXAMPLE
              ktutil:  add_entry -password -p alice@BLEEP.COM -k 1 -e
                  aes128-cts-hmac-sha1-96
              Password for alice@BLEEP.COM:
              ktutil:  add_entry -password -p alice@BLEEP.COM -k 1 -e
                  aes256-cts-hmac-sha1-96
              Password for alice@BLEEP.COM:
              ktutil:  write_kt keytab
              ktutil:


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------------+
       |ATTRIBUTE TYPE |    ATTRIBUTE VALUE     |
       +---------------+------------------------+
       |Availability   | security/kerberos-5    |
       +---------------+------------------------+
       |Stability      | Pass-through committed |
       +---------------+------------------------+
SEE ALSO
       kadmin(1), kdb5_util(8)

AUTHOR
       MIT

COPYRIGHT
       1985-2017, MIT



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source      was      downloaded      from      https://web.mit.edu/ker-
       beros/dist/krb5/1.16/krb5-1.16.tar.gz

       Further information about this software can be found on the open source
       community website at https://web.mit.edu/kerberos/.



1.16                                                                 KTUTIL(1)