2005-11-03 15:59:51 +00:00
|
|
|
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
|
2005-11-14 20:07:26 +00:00
|
|
|
copy kadm5.acl to /var/kerberos/krb5kdc/
|
2005-11-03 15:59:51 +00:00
|
|
|
|
|
|
|
init the database and admin principals.
|
|
|
|
kdb5_util create -s
|
|
|
|
add an admin principal
|
|
|
|
kadmin.local
|
|
|
|
while running kadmin.local enter
|
|
|
|
addprinc master/admin
|
|
|
|
|
2005-11-14 20:07:26 +00:00
|
|
|
turn off iptables
|
2005-11-08 15:14:11 +00:00
|
|
|
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
|
2005-11-14 20:07:26 +00:00
|
|
|
kadmin
|