[1185] in Kerberos-V5-bugs
kprop shell program and some documentation
daemon@ATHENA.MIT.EDU (Paul Pomes)
Wed Mar 15 17:06:33 1995
Date: Wed, 15 Mar 1995 16:06:10 -0600
From: Paul Pomes <p-pomes@uiuc.edu>
To: krb5-bugs@MIT.EDU
#! /bin/sh
#
# krb5_prop - Propagate a Kerberos V5 database to a slave server.
#
# Required steps to set up database backup
#
# Assume admin server resides on argus.cso.uiuc.edu and backup server resides
# on cyclops.cso.uiuc.edu, both in the realm UIUC.EDU .
#
# Create the principals
#
# host/argus.cso.uiuc.edu@UIUC.EDU
# host/cyclops.cso.uiuc.edu@UIUC.EDU
#
# Extract them into their respective /etc/v5srvtab files installed on each
# host (the /etc/v5srvtab file with the host/argus.cso.uiuc.edu@UIUC.EDU key
# resides on argus.cso.uiuc.edu).
#
# Create a /krb5/kpropd.acl file on cyclops.cso.uiuc.edu that contains the line
# host/argus.cso.uiuc.edu@UIUC.EDU
#
# Edit /etc/services on both hosts and add the line
#
# krb_prop 754/tcp krb5_prop # Kerberos slave propagation
#
# Edit /etc/inetd.conf on cyclops.cso.uiuc.edu and add AS A SINGLE LINE
#
# krb5_prop stream tcp nowait root /usr/local/libexec/kpropd
# kpropd -r UIUC.EDU -f /krb5/from_master
#
# Send a HUP signal to inetd to have it re-read /etc/inetd.conf.
#
# Edit root's crontab on argus to add AS A SINGLE LINE
#
# 47 0 * * * /usr/local/libexec/krb5_prop 2>&1 |
# /usr/bin/mailx -s "krb5_prop results" postmaster
cd /krb5
/usr/local/sbin/kdb5_edit -R "dump_db slave_datatrans"
/usr/local/sbin/kprop cyclops.cso.uiuc.edu
exit 0