maybe chmod 0644 'conf.d/killprocs'
maybe chmod 0644 'conf.d/localmount'
maybe chmod 0644 'conf.d/lvm'
+maybe chmod 0644 'conf.d/mit-krb5kadmind'
+maybe chmod 0644 'conf.d/mit-krb5kdc'
+maybe chmod 0644 'conf.d/mit-krb5kpropd'
maybe chmod 0644 'conf.d/modules'
maybe chmod 0644 'conf.d/net-online'
maybe chmod 0644 'conf.d/netmount'
maybe chmod 0755 'init.d/lvm'
maybe chmod 0755 'init.d/lvm-monitoring'
maybe chmod 0755 'init.d/lvmetad'
+maybe chmod 0755 'init.d/mit-krb5kadmind'
+maybe chmod 0755 'init.d/mit-krb5kdc'
+maybe chmod 0755 'init.d/mit-krb5kpropd'
maybe chmod 0755 'init.d/modules'
maybe chmod 0755 'init.d/modules-load'
maybe chmod 0755 'init.d/mount-ro'
maybe chmod 0755 'kernel/install.d'
maybe chmod 0755 'kernel/postinst.d'
maybe chmod 0644 'kernel/postinst.d/.keep_sys-apps_debianutils-0'
+maybe chmod 0644 'krb5.conf.example'
maybe chmod 0755 'layman'
maybe chmod 0644 'layman/layman.cfg'
maybe chmod 0755 'layman/overlays'
--- /dev/null
+# Define startup options for Kerberos administration server
+KADMIND_OPTS=""
--- /dev/null
+# Define startup options for Kerberos KDC
+KDC_OPTS=""
--- /dev/null
+# Define startup options for Kerberos incremental propagation server
+KPROPD_OPTS=""
--- /dev/null
+#!/sbin/openrc-run
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 Admin daemon
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 Admin daemon"
+exec="/usr/sbin/kadmind"
+
+depend() {
+ need mit-krb5kdc
+ use net
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} -- ${KADMIND_OPTS} 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
--- /dev/null
+#!/sbin/openrc-run
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 KDC
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 KDC"
+exec="/usr/sbin/krb5kdc"
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} -- ${KDC_OPTS} 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
--- /dev/null
+#!/sbin/openrc-run
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 kpropd
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 kpropd"
+exec="/usr/sbin/kpropd"
+
+depend() {
+ use net mit-krb5kdc mit-krb5kadmind
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} -- ${KPROPD_OPTS} 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
--- /dev/null
+[libdefaults]
+ default_realm = ATHENA.MIT.EDU
+
+[realms]
+# use "kdc = ..." if realm admins haven't put SRV records into DNS
+ ATHENA.MIT.EDU = {
+ admin_server = kerberos.mit.edu
+ }
+ ANDREW.CMU.EDU = {
+ admin_server = kdc-01.andrew.cmu.edu
+ }
+
+[domain_realm]
+ mit.edu = ATHENA.MIT.EDU
+ csail.mit.edu = CSAIL.MIT.EDU
+ .ucsc.edu = CATS.UCSC.EDU
+
+[logging]
+# kdc = CONSOLE