


KSRVUTIL(8)           MAINTENANCE COMMANDS            KSRVUTIL(8)



NAME
     ksrvutil - host kerberos keyfile (srvtab) manipulation util-
     ity

SYNOPSIS
     ksrvutil operation [ -k ] [ -i ] [ -f filename ]

DESCRIPTION
     _k_s_r_v_u_t_i_l allows a system manager  to  list  or  change  keys
     currently in his keyfile or to add new keys to the keyfile.

     Operation must be one of the following:

     _l_i_s_t      lists the keys in a keyfile showing version number
               and  principal  name.   If the -k option is given,
               keys will also be shown.

     _c_h_a_n_g_e    changes all the keys in the keyfile by  using  the
               regular  admin protocol.  If the -i flag is given,
               _k_s_r_v_u_t_i_l will prompt for yes or no before changing
               each  key.   If the -k option is used, the old and
               new keys will be displayed.

     _a_d_d       allows the user to add a  key.   _a_d_d  prompts  for
               name,  instance,  realm,  and  key version number,
               asks for confirmation, and then asks for  a  pass-
               word. _k_s_r_v_u_t_i_l then converts the password to a key
               and appends the keyfile with the new  information.
               If the -k option is used, the key is displayed.


     In all cases, the default file used is KEYFILE as defined in
     krb.h unless this is overridden by the -f option.


     A good use for _k_s_r_v_u_t_i_l would be for adding keys to  a  key-
     file.   A  system manager could ask a kerberos administrator
     to create a new service key with _k_a_d_m_i_n(8) and could  supply
     an initial password.  Then, he could use _k_s_r_v_u_t_i_l to add the
     key to the keyfile and then to change the  key  so  that  it
     will  be  random and unknown to either the system manager or
     the kerberos administrator.

     _k_s_r_v_u_t_i_l always makes a backup copy of  the  keyfile  before
     making any changes.


DIAGNOSTICS
     If _k_s_r_v_u_t_i_l should exit on an error condition  at  any  time
     during  a  change or add, a copy of the original keyfile can
     be found in _f_i_l_e_n_a_m_e.old where _f_i_l_e_n_a_m_e is the name  of  the
     keyfile, and a copy of the file with all new keys changed or



MIT Project AthenLaast change: Kerberos Version 4.0               1






KSRVUTIL(8)           MAINTENANCE COMMANDS            KSRVUTIL(8)



     added so far can be found in  _f_i_l_e_n_a_m_e.work.   The  original
     keyfile  is left unmodified until the program exits at which
     point it is removed  and  replaced  it  with  the  workfile.
     Appending  the workfile to the backup copy and replacing the
     keyfile with the result should always give a usable keyfile,
     although  the  resulting  keyfile will have some out of date
     keys in it.


SEE ALSO
     kadmin(8), ksrvtgt(1)


AUTHOR
     Emanuel Jay Berkenbilt, MIT Project Athena








































MIT Project AthenLaast change: Kerberos Version 4.0               2



