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
|
|
|
|
|
2005-11-08 15:14:11 +00:00
|
|
|
===================
|
2005-11-03 15:59:51 +00:00
|
|
|
set a hostname
|
|
|
|
hostname noplace.org
|
|
|
|
|
|
|
|
copy krb5.conf to /etc/
|
|
|
|
copy kdc.conf 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
|
2005-11-08 15:14:11 +00:00
|
|
|
===================
|
2005-11-03 15:59:51 +00:00
|
|
|
|
2005-11-08 15:14:11 +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
|
|
|
|
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
|