KeyFile(5)

NAME

   KeyFile - Defines AFS server encryption keys

DESCRIPTION

   The KeyFile file defines the server encryption keys that the AFS server
   processes running on the machine use to decrypt the tickets presented
   by clients during the mutual authentication process. AFS server
   processes perform privileged actions only for clients that possess a
   ticket encrypted with one of the keys from the file. The file must
   reside in the /etc/openafs/server directory on every server machine.
   For more detailed information on mutual authentication and server
   encryption keys, see the OpenAFS Administration Guide.

   Each key has a corresponding a key version number that distinguishes it
   from the other keys. The tickets that clients present are also marked
   with a key version number to tell the server process which key to use
   to decrypt it. The KeyFile file must always include a key with the same
   key version number and contents as the key currently listed for the
   "afs/cell" principal in the associated Kerberos v5 realm or
   Authentication Database. (The principal "afs" may be used if the cell
   and realm names are the same, but adding the cell name to the principal
   is recommended even in this case. "afs" must be used as the principal
   name if the cell uses the Authentication Server rather than a Kerberos
   v5 realm.) The key must be a DES key; no stronger encryption type is
   supported.

   The KeyFile file is in binary format, so always use either the asetkey
   command or the appropriate commands from the bos command suite to
   administer it:

   *   The asetkey add or bos addkey command to add a new key.

   *   The asetkey list or bos listkeys command to display the keys.

   *   The asetkey delete or bos removekey command to remove a key from
       the file.

   The asetkey commands must be run on the same server as the KeyFile file
   to update. The bos commands may be run remotely. Normally, new keys
   should be added from a Kerberos v5 keytab using asetkey add.  bos
   addkey is normally only used if the Authentication Server is in use
   instead of a Kerberos v5 realm.

   In cells that use the Update Server to distribute the contents of the
   /etc/openafs/server directory, it is customary to edit only the copy of
   the file stored on the system control machine. Otherwise, edit the file
   on each server machine individually.

CAUTIONS

   The most common error caused by changes to KeyFile is to add a key that
   does not match the corresponding key for the Kerberos v5 principal or
   Authentication Server database entry. Both the key and the key version
   number must match the key for the corresponding principal, either
   "afs/cell" or "afs", in the Kerberos v5 realm or Authentication
   Database. For a Kerberos v5 realm, that principal must only have DES
   encryption types in the Kerberos KDC.

   In the unusual case of using bos addkey to add a key with a known
   password matching a password used to generate Kerberos v5 keys, the
   keys in the Kerberos v5 KDC database must use "afs3" salt, not the
   default Kerberos v5 salt. The salt doesn't matter for the more normal
   procedure of extracting a keytab and then adding the key using asetkey.

SEE ALSO

   asetkey(8), bos_addkey(8), bos_listkeys(8), bos_removekey(8),
   kas_setpassword(8), upclient(8), upserver(8)

   The OpenAFS Administration Guide at
   <http://docs.openafs.org/AdminGuide/>.

COPYRIGHT

   IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

   This documentation is covered by the IBM Public License Version 1.0.
   It was converted from HTML to POD by software written by Chas Williams
   and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.