24 lines
515 B
Plaintext
24 lines
515 B
Plaintext
install server
|
|
yum install krb5-server
|
|
and if the libs are not installed
|
|
yum install krb5-libs
|
|
|
|
copy krb5.conf to /etc/
|
|
copy kdc.conf to /var/kerberos/krb5kdc
|
|
copy kadm5.acl to /var/kerberos/krb5kdc/
|
|
|
|
init the database and admin principals.
|
|
kdb5_util create -s
|
|
add an admin principal
|
|
kadmin.local
|
|
while running kadmin.local enter
|
|
addprinc master/admin
|
|
|
|
turn off iptables
|
|
start the service with init scripts
|
|
/etc/rc.d/init.d/krb5kdc start
|
|
/etc/rc.d/init.d/kadmin start
|
|
test it out
|
|
kinit master/admin
|
|
kadmin
|