KINIT(1) BSD General Commands Manual KINIT(1) NNAAMMEE kkiinniitt -- acquire initial tickets SSYYNNOOPPSSIISS kkiinniitt [----aaffsslloogg] [--cc _c_a_c_h_e_n_a_m_e | ----ccaacchhee==_c_a_c_h_e_n_a_m_e] [--ff | ----ffoorrwwaarrddaabbllee] [--FF | ----nnoo--ffoorrwwaarrddaabbllee] [--tt _k_e_y_t_a_b_n_a_m_e | ----kkeeyyttaabb==_k_e_y_t_a_b_n_a_m_e] [--ll _t_i_m_e | ----lliiffeettiimmee==_t_i_m_e] [--pp | ----pprrooxxiiaabbllee] [--RR | ----rreenneeww] [----rreenneewwaabbllee] [--rr _t_i_m_e | ----rreenneewwaabbllee--lliiffee==_t_i_m_e] [--SS _p_r_i_n_c_i_p_a_l | ----sseerrvveerr==_p_r_i_n_c_i_p_a_l] [--ss _t_i_m_e | ----ssttaarrtt--ttiimmee==_t_i_m_e] [--kk | ----uussee--kkeeyyttaabb] [--vv | ----vvaalliiddaattee] [--ee _e_n_c_t_y_p_e_s | ----eennccttyyppeess==_e_n_c_t_y_p_e_s] [--aa _a_d_d_r_e_s_s_e_s | ----eexxttrraa--aaddddrreesssseess==_a_d_d_r_e_s_s_e_s] [----ppaasssswwoorrdd--ffiillee==_f_i_l_e_n_a_m_e] [----ffccaacchhee--vveerrssiioonn==_v_e_r_s_i_o_n_-_n_u_m_b_e_r] [--AA | ----nnoo--aaddddrreesssseess] [----aannoonnyymmoouuss] [----eenntteerrpprriissee] [----vveerrssiioonn] [----hheellpp] [_p_r_i_n_c_i_p_a_l [_c_o_m_m_a_n_d]] DDEESSCCRRIIPPTTIIOONN kkiinniitt is used to authenticate to the Kerberos server as _p_r_i_n_c_i_p_a_l, or if none is given, a system generated default (typically your login name at the default realm), and acquire a ticket granting ticket that can later be used to obtain tickets for other services. Supported options: --cc _c_a_c_h_e_n_a_m_e ----ccaacchhee==_c_a_c_h_e_n_a_m_e The credentials cache to put the acquired ticket in, if other than default. --ff ----ffoorrwwaarrddaabbllee Obtain a ticket than can be forwarded to another host. --FF ----nnoo--ffoorrwwaarrddaabbllee Do not obtain a forwardable ticket. --tt _k_e_y_t_a_b_n_a_m_e, ----kkeeyyttaabb==_k_e_y_t_a_b_n_a_m_e Don't ask for a password, but instead get the key from the speci- fied keytab. --ll _t_i_m_e, ----lliiffeettiimmee==_t_i_m_e Specifies the lifetime of the ticket. The argument can either be in seconds, or a more human readable string like `1h'. --pp, ----pprrooxxiiaabbllee Request tickets with the proxiable flag set. --RR, ----rreenneeww Try to renew ticket. The ticket must have the `renewable' flag set, and must not be expired. ----rreenneewwaabbllee The same as ----rreenneewwaabbllee--lliiffee, with an infinite time. --rr _t_i_m_e, ----rreenneewwaabbllee--lliiffee==_t_i_m_e The max renewable ticket life. --SS _p_r_i_n_c_i_p_a_l, ----sseerrvveerr==_p_r_i_n_c_i_p_a_l Get a ticket for a service other than krbtgt/LOCAL.REALM. --ss _t_i_m_e, ----ssttaarrtt--ttiimmee==_t_i_m_e Obtain a ticket that starts to be valid _t_i_m_e (which can really be a generic time specification, like `1h') seconds into the future. --kk, ----uussee--kkeeyyttaabb The same as ----kkeeyyttaabb, but with the default keytab name (normally _F_I_L_E_:_/_e_t_c_/_k_r_b_5_._k_e_y_t_a_b). --vv, ----vvaalliiddaattee Try to validate an invalid ticket. --ee, ----eennccttyyppeess==_e_n_c_t_y_p_e_s Request tickets with this particular enctype. ----ppaasssswwoorrdd--ffiillee==_f_i_l_e_n_a_m_e read the password from the first line of _f_i_l_e_n_a_m_e. If the _f_i_l_e_n_a_m_e is _S_T_D_I_N, the password will be read from the standard input. ----ffccaacchhee--vveerrssiioonn==_v_e_r_s_i_o_n_-_n_u_m_b_e_r Create a credentials cache of version _v_e_r_s_i_o_n_-_n_u_m_b_e_r. --aa, ----eexxttrraa--aaddddrreesssseess==_e_n_c_t_y_p_e_s Adds a set of addresses that will, in addition to the systems local addresses, be put in the ticket. This can be useful if all addresses a client can use can't be automatically figured out. One such example is if the client is behind a firewall. Also settable via libdefaults/extra_addresses in krb5.conf(5). --AA, ----nnoo--aaddddrreesssseess Request a ticket with no addresses. ----aannoonnyymmoouuss Request an anonymous ticket (which means that the ticket will be issued to an anonymous principal, typically ``anonymous@REALM''). ----eenntteerrpprriissee Parse principal as a enterprise (KRB5-NT-ENTERPRISE) name. Enter- prise names are email like principals that are stored in the name part of the principal, and since there are two @ characters the parser needs to know that the first is not a realm. An example of an enterprise name is ``lha@e.kth.se@KTH.SE'', and this option is usually used with canonicalize so that the principal returned from the KDC will typically be the real principal name. ----aaffsslloogg Gets AFS tickets, converts them to version 4 format, and stores them in the kernel. Only useful if you have AFS. The _f_o_r_w_a_r_d_a_b_l_e, _p_r_o_x_i_a_b_l_e, _t_i_c_k_e_t___l_i_f_e, and _r_e_n_e_w_a_b_l_e___l_i_f_e options can be set to a default value from the appdefaults section in krb5.conf, see krb5_appdefault(3). If a _c_o_m_m_a_n_d is given, kkiinniitt will set up new credentials caches, and AFS PAG, and then run the given command. When it finishes the credentials will be removed. EENNVVIIRROONNMMEENNTT KRB5CCNAME Specifies the default credentials cache. KRB5_CONFIG The file name of _k_r_b_5_._c_o_n_f, the default being _/_e_t_c_/_k_r_b_5_._c_o_n_f. SSEEEE AALLSSOO kdestroy(1), klist(1), krb5_appdefault(3), krb5.conf(5) HEIMDAL April 25, 2006 HEIMDAL