com.ibm.security.krb5.internal.tools

Class Ktab

  • java.lang.Object
    • com.ibm.security.krb5.internal.tools.Ktab


  • public class Ktab
    extends java.lang.Object
    This class can execute as a command-line tool to help the user manage entires in the key table. Available functions include list/add/update/delete service key(s).
    Version:
    1.24 01 Jul 11
    • Constructor Summary

      Constructors 
      Constructor and Description
      Ktab() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      The main program that can be invoked at command line.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Ktab

        public Ktab()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws com.ibm.security.krb5.internal.RealmException,
                                java.lang.Exception
        The main program that can be invoked at command line.
        Usage: java com.ibm.security.krb5.tools.Ktab
        available options to Ktab:
        • -l [-e] [-t] list the keytab name and entries, -e with etype, -t with timestamp.
        • -a <principal name> [password] [-n kvno] [-append] add new key entries to the keytab for the given principal name with optional password. If a kvno is specified, new keys' Key Version Numbers equal to the value, otherwise, automatically incrementing the Key Version Numbers. If -append is specified, new keys are appended to the keytab, otherwise, old keys for the same principal are removed.add an entry to the keytab,
        • -d <principal name> [-f] [-e etype] [kvno | all | old] delete an entry from the keytab If kvno is specified, delete keys whose Key Version Numbers match kvno. If "all" is specified, delete all keys. If "old" is specified, delete all keys except those with the highest kvno. Default action is "all". If etype is specified, only keys of this encryption type are deleted. should be specified as the numberic value etype defined in RFC 3961, section 8. A prompt to confirm the deletion is displayed unless -f is specified.;
        • -k <keytab name > specify keytab name and path with prefix FILE:
        • -m <keytab name > <keytab name > merge the keytab entries from first file into second
        • -help display instructions.
        Throws:
        java.lang.Exception
        com.ibm.security.krb5.internal.RealmException

© Portions Copyright 2003, 2015 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2015, Oracle and/or its affiliates. All rights reserved.