addprinc — Adding a principal
[-expire expiredate] [-pwexpire pwexpiredate] [-maxlife maxtixlife] [-kvno kvno] [-policy policyname] [-randkey] [-pw password] [-maxrenewlife maxrenewlife] [-e keysaltlist] [(+/-)attribute] principal-name
addprinc command adds
a new principal into the Kerberos database. This command requires
one argument, the name of the new principal to add. The command
also recognizes several optional arguments that specify policy
information the new principal should be subject to. More
information about password policies is available in Chapter 6.
Other options include the
randkey option, which adds the principal
with a random key. This option is good to use for services that
require secure keys that don’t have to be memorized by a human. If
the principal needs to have a special key encryption type or salt,
it can be specified with the
option. Following is a full list of all of the options available
This option sets an expiry date for the principal. After the date specified, tickets will no longer be issued for the principal, and requests by the principal to obtain service tickets will not be honored.
This option sets the password expiry date for the principal.
This option sets the maximum lifetime of tickets issued for the principal.
This option sets the key version number for the principal’s key to kvno. Unless you need to override ...