]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
committing changes in /etc after emerge run
authorFrank Brehm <frank@brehm-online.com>
Tue, 3 Jan 2017 08:55:08 +0000 (09:55 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 3 Jan 2017 08:55:08 +0000 (09:55 +0100)
.etckeeper
conf.d/mit-krb5kadmind [new file with mode: 0644]
conf.d/mit-krb5kdc [new file with mode: 0644]
conf.d/mit-krb5kpropd [new file with mode: 0644]
init.d/mit-krb5kadmind [new file with mode: 0755]
init.d/mit-krb5kdc [new file with mode: 0755]
init.d/mit-krb5kpropd [new file with mode: 0755]
krb5.conf.example [new file with mode: 0644]

index 5312b858377bd7a9c6b497524f28c174ae2e1bde..ec9959564a986afaa3122085817ccbfa3dde9f6e 100755 (executable)
@@ -126,6 +126,9 @@ maybe chmod 0644 'conf.d/keymaps'
 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'
@@ -427,6 +430,9 @@ maybe chmod 0755 'init.d/loopback'
 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'
@@ -500,6 +506,7 @@ maybe chmod 0644 'kernel-config/do-genkernel'
 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'
diff --git a/conf.d/mit-krb5kadmind b/conf.d/mit-krb5kadmind
new file mode 100644 (file)
index 0000000..f6029b6
--- /dev/null
@@ -0,0 +1,2 @@
+# Define startup options for Kerberos administration server
+KADMIND_OPTS=""
diff --git a/conf.d/mit-krb5kdc b/conf.d/mit-krb5kdc
new file mode 100644 (file)
index 0000000..887d3d8
--- /dev/null
@@ -0,0 +1,2 @@
+# Define startup options for Kerberos KDC
+KDC_OPTS=""
diff --git a/conf.d/mit-krb5kpropd b/conf.d/mit-krb5kpropd
new file mode 100644 (file)
index 0000000..d75d41a
--- /dev/null
@@ -0,0 +1,2 @@
+# Define startup options for Kerberos incremental propagation server
+KPROPD_OPTS=""
diff --git a/init.d/mit-krb5kadmind b/init.d/mit-krb5kadmind
new file mode 100755 (executable)
index 0000000..03e64f8
--- /dev/null
@@ -0,0 +1,25 @@
+#!/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"
+}
diff --git a/init.d/mit-krb5kdc b/init.d/mit-krb5kdc
new file mode 100755 (executable)
index 0000000..ecd47e4
--- /dev/null
@@ -0,0 +1,24 @@
+#!/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"
+}
diff --git a/init.d/mit-krb5kpropd b/init.d/mit-krb5kpropd
new file mode 100755 (executable)
index 0000000..f6ab787
--- /dev/null
@@ -0,0 +1,24 @@
+#!/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"
+}
diff --git a/krb5.conf.example b/krb5.conf.example
new file mode 100644 (file)
index 0000000..9d250bf
--- /dev/null
@@ -0,0 +1,19 @@
+[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