Add iSeries A service principal to the Kerberos server

For i5/OS™ interfaces to accept Kerberos tickets, you must add them to the Kerberos server as principals. If you are already in the kadmin environment, skip steps 1 through 4.
Note: Any and all passwords used within this scenario are for example purposes only. They should not be used during an actual configuration. The principal name also is for example purposes only.
  1. In a character-based interface, type call QP2TERM at the command line. This command opens an interactive shell environment that allows you to work with i5/OS PASE applications.
  2. At the command line, enter export PATH=$PATH:/usr/krb5/sbin. This command points to the Kerberos scripts that are necessary to run the executable files.
  3. At the command line, enter kadmin -p admin/admin, and press Enter.
  4. Sign in with administrator's password. For example, secret.
  5. At the kadmin prompt, enter addprinc -pw iseriesa123 krbsvr400/iseriesa.myco.com. You will receive a message that reads:
    Principal "krbsvr400/iseriesa.myco.com@MYCO.COM" created.
  6. Enter quit to exit the kadmin interface, and press F3 (Exit) to exit the PASE environment.