Add the Adaptive Server name to the KDC and extract the service key to a key table file. For example:
/krb5bin/admin admin/ASE -k -t /krb5/v5srvtab -R” addrn my_ase; mod my_ase attr nopwchg; ext -n my_ase eytabfile.krb5” Connecting as: admin/ASE Connected to csfA5v01 in realm ASE. Principal added. Principal modified. Key extracted. Disconnected.
The administrator can also be authenticated using a password on the command line. In this example, the -k option is used, which tells kadmin to search the /krb5/v5srvtab file (specified using the -t option) for the admin and the Adaptive Server key, instead of prompting for a password. This is useful for writing shell scripts.