This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



KINIT(1)                                                                                            KINIT(1)



NAME
       kinit - obtain and cache Kerberos ticket-granting ticket

SYNOPSIS
       kinit  [-V] [-l lifetime] [-s start_time] [-r renewable_life] [-p | -P] [-f | -F] [-a | -A] [-v] [-R]
              [-k [-t keytab_file]] [-S service_name] [principal]

DESCRIPTION
       kinit obtains and caches an initial ticket-granting ticket for principal.  Any existing  tickets  for
       principal  are overwritten.  kinit will try to acquire both Kerberos 5 and Kerberos 4 initial tickets
       if the appropriate configuration information is available.

OPTIONS
       -V     display verbose output.

       -l lifetime
              requests a ticket with the lifetime lifetime. The value for lifetime must be followed  immedi-ately immediately
              ately by one of the following delimiters:

                 s  seconds
                 m  minutes
                 h  hours
                 d  days

              as in "kinit -l 90m".  You cannot mix units; a value of '3h30m' will result in an error.

              If  the  -l  option is not specified, the default ticket lifetime (configured by each site) is
              used.  Specifying a ticket lifetime longer than the maximum  ticket  lifetime  (configured  by
              each site) results in a ticket with the maximum lifetime.

       -s start_time
              requests  a postdated ticket, valid starting at start_time.  Postdated tickets are issued with
              the invalid flag set, and need to be validated by the kdc before use.

       -r renewable_life
              requests renewable tickets, with a total lifetime of renewable_life. The duration  is  in  the
              same format as the -l option, with the same delimiters.

       -f     request forwardable tickets.

       -F     request tickets which are not forwardable.

       -p     request proxiable tickets.

       -P     request tickets which are not proxiable.

       -a     request tickets containing the host's local address(es).

       -A     request address-less tickets.

       -v     requests that the ticket granting ticket in the cache (with the invalid flag set) be passed to
              the kdc for validation.  If the ticket is within  its  requested  time  range,  the  cache  is
              replaced with the validated ticket.

       -R     requests  renewal  of  the  ticket-granting  ticket.   Note  that  an expired ticket cannot be
              renewed, even if the ticket is still within its renewable life.  This  option  will  only  get
              Kerberos 4 tickets if the kdc must support Kerberos 5 to Kerberos 4 ticket conversion.

       -k [-t keytab_file]
              requests  a  host  ticket,  obtained from a key in the local host's keytab file.  The name and
              location of the keytab file may be specified with the -t  keytab_file  option;  otherwise  the
              default  name  and location will be used.  This option will only get Kerberos 4 tickets if the
              kdc must support Kerberos 5 to Kerberos 4 ticket conversion.

       -S service_name
              specify an alternate service name to use when getting initial tickets.   (Applicable  to  Ker-beros Kerberos
              beros 5 or if using both Kerberos 5 and Kerberos 4 with a kdc that supports Kerberos 5 to Ker-beros Kerberos
              beros 4 ticket conversion.)

FILES
       /etc/krb5.keytab
              default location for the local host's keytab file.

SEE ALSO
       klist(1), kdestroy(1), kpasswd(1), kswitch(1)



                                                                                                    KINIT(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...