This is an old revision of the document!
root@server:~# kadmin.local
kadmin.local: addprinc user1 ... Enter password for principal "user1@CORPX.UN": kpassword1 Re-enter password for principal "user1@CORPX.UN": kpassword1 ... kadmin.local: addprinc user2 ... kadmin.local: listprincs ... user1@CORPX.UN ... kadmin.local: quit root@server:~# kadmin.local -q 'addprinc -pw kpassword2 user2' root@server:~# kadmin.local -q 'change_password -pw kpassword1 user1'
server# kadmin -l kadmin> add user1 ... user1@CORPX.UN's Password: kpassword1 Verifying - user@CORPX.UN's Password: kpassword1 ... kadmin> add user2 ... kadmin> list * kadmin> quit
server# kinit user1 server# klist server# kdestroy gate# kinit user1 gate# klist gate# kdestroy client1# kinit user1 client1# klist client1# kdestroy
server# kadmin -l kadmin> add host/client2.corpX.un ... host/client2.corpX.un@CORPX.UN's Password: 12345678 ... kadmin> list * kadmin>
root@server:~# kadmin.local kadmin.local: addprinc -e rc4-hmac:normal host/client2.corpX.un ... Enter password for principal "host/client2.corpX.un@CORPX.UN": 12345678 ... kadmin.local: listprincs kadmin.local:
gate# ktutil remove -p 'HTTP/gate.CORPX.UN@CORPX.UN'
kadmin.local: delprinc HTTP/gate.CORPX.UN@CORPX.UN