Name
addent — Create key manually
Synopsis
addent (-key | -password) -p principal -k kvno -e enctype
The addent command adds an entry to the keylist manually. All
parameters to addent are
required. The encryption key associated with the new entry can be
specified either by a hexadecimal key or by a password that is run
through string2key to produce an encryption key. Ktadmin will
prompt for the key or password.
The second parameter specifies that principal that is to be added to the keylist. If no realm is specified with the principal name, the default realm is assumed. The remaining parameters specify the key version number and encryption type to be associated with this entry.
Example
To create a new keylist entry for the principal blah@WEDGIE.ORG, with a key version number of 1 and using a DES key derived from a password string:
ktutil: addent -password -p blah@WEDGIE.ORG -k 1 -e des Password for blah@WEDGIE.ORG:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access