$ kinit admin/admin
Password for admin/admin@HPC-TX.COM:
$ /usr/krb5/sbin/kadmin
Enter password:
kadmin: addprinc -randkey sge/fritz.hpc-tx.com@HPC-TX.COM
Principal "sge/fritz.hpc-tx.com@HPC-TX.COM" created.
kadmin: quit
$
$ /usr/krb5/sbin/kadmin
Enter password:
kadmin: addprinc -randkey sge_qmaster/fritz.hpc-tx.com@HPC-TX.COM
Principal "sge_qmaster/fritz.hpc-tx.com@HPC-TX.COM" created.
kadmin: addprinc -randkey sge_schedd/fritz.hpc-tx.com@HPC-TX.COM
Principal "sge_schedd/fritz.hpc-tx.com@HPC-TX.COM" created.
kadmin: quit
$
$ /usr/krb5/sbin/kadmin
Enter password:
kadmin: addprinc -randkey sge_execd/constitution.hpc-tx.com@HPC-TX.COM
Principal "sge_execd/constitution.hpc-tx.com@HPC-TX.COM" created.
kadmin: quit
$
On each qmaster or shadow host:
$ su
Password:
# /usr/krb5/bin/kinit admin/admin
Password for admin/admin@HPC-TX.COM:
# /usr/krb5/sbin/kadmin
Enter password:
kadmin: ktadd sge/fritz.hpc-tx.com sge_qmaster/fritz.hpc-tx.com sge_schedd/fritz.hpc-tx.com
Entry for principal sge/fritz.hpc-tx.com with kvno 5, encryption type
DES-CBC-CRC added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal sge_qmaster/fritz.hpc-tx.com with kvno 5, encryption
type DES-CBC-CRC added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal sge_schedd/fritz.hpc-tx.com with kvno 4, encryption
type DES-CBC-CRC added to keytab WRFILE:/etc/krb5.keytab.
kadmin: quit
#
On each execution host:
$ su
Password:
# /usr/krb5/bin/kinit admin/admin
Password for admin/admin@HPC-TX.COM:
# /usr/krb5/sbin/kadmin
Enter password:
kadmin: ktadd sge_execd/constitution.hpc-tx.com
Entry for principal sge_execd/constitution.hpc-tx.com with kvno 3,
encryption type DES-CBC-CRC added to keytab WRFILE:/etc/krb5.keytab.
kadmin: quit
#
$ kinit -f -r 14d