From fe234d31fd40c86d1b4e7c78a8cb9a45e71a4324 Mon Sep 17 00:00:00 2001 From: frank Date: Sun, 15 Jan 2012 23:35:51 +0100 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +app-crypt/mit-krb5-1.9.2-r2 --- .etckeeper | 5 +++++ init.d/mit-krb5kadmind | 24 ++++++++++++++++++++++++ init.d/mit-krb5kdc | 24 ++++++++++++++++++++++++ init.d/mit-krb5kpropd | 25 +++++++++++++++++++++++++ krb5.conf.example | 26 ++++++++++++++++++++++++++ xinetd.d/kpropd | 11 +++++++++++ 6 files changed, 115 insertions(+) create mode 100755 init.d/mit-krb5kadmind create mode 100755 init.d/mit-krb5kdc create mode 100755 init.d/mit-krb5kpropd create mode 100644 krb5.conf.example create mode 100644 xinetd.d/kpropd diff --git a/.etckeeper b/.etckeeper index c747a500..563fece3 100755 --- a/.etckeeper +++ b/.etckeeper @@ -194,6 +194,9 @@ maybe chmod 0755 './init.d/lvm' maybe chmod 0755 './init.d/lvm-monitoring' maybe chmod 0755 './init.d/mdadm' maybe chmod 0755 './init.d/mdraid' +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/mount-ro' maybe chmod 0755 './init.d/mtab' @@ -244,6 +247,7 @@ maybe chmod 0644 './issue.logo' maybe chmod 0755 './kernel' 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 0644 './ld.so.cache' @@ -479,6 +483,7 @@ maybe chmod 0644 './xinetd.d/discard-stream' maybe chmod 0644 './xinetd.d/echo-dgram' maybe chmod 0644 './xinetd.d/echo-stream' maybe chmod 0644 './xinetd.d/ftp-sensor' +maybe chmod 0644 './xinetd.d/kpropd' maybe chmod 0644 './xinetd.d/rsyncd' maybe chmod 0644 './xinetd.d/svnserve' maybe chmod 0644 './xinetd.d/tcpmux-server' diff --git a/init.d/mit-krb5kadmind b/init.d/mit-krb5kadmind new file mode 100755 index 00000000..75d411c2 --- /dev/null +++ b/init.d/mit-krb5kadmind @@ -0,0 +1,24 @@ +#!/sbin/runscript + +#--------------------------------------------------------------------------- +# This script starts/stops the MIT Kerberos 5 Admin daemon +#--------------------------------------------------------------------------- + +daemon="MIT Kerberos 5 Admin daemon" +exec="/usr/sbin/kadmind" + +depend() { + need net mit-krb5kdc +} + +start() { + ebegin "Starting $daemon" + start-stop-daemon --start --quiet --exec ${exec} 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 index 00000000..d0ab859d --- /dev/null +++ b/init.d/mit-krb5kdc @@ -0,0 +1,24 @@ +#!/sbin/runscript + +#--------------------------------------------------------------------------- +# This script starts/stops the MIT Kerberos 5 KDC +#--------------------------------------------------------------------------- + +daemon="MIT Kerberos 5 KDC" +exec="/usr/sbin/krb5kdc" + +depend() { + need net +} + +start() { + ebegin "Starting $daemon" + start-stop-daemon --start --quiet --exec ${exec} 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 index 00000000..76841da8 --- /dev/null +++ b/init.d/mit-krb5kpropd @@ -0,0 +1,25 @@ +#!/sbin/runscript + +#--------------------------------------------------------------------------- +# This script starts/stops the MIT Kerberos 5 kpropd +#--------------------------------------------------------------------------- + +daemon="MIT Kerberos 5 kpropd" +exec="/usr/sbin/kpropd" + +depend() { + need net + use mit-krb5kdc mit-krb5kadmind +} + +start() { + ebegin "Starting $daemon" + start-stop-daemon --start --quiet --exec ${exec} -- -S 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 index 00000000..210348fa --- /dev/null +++ b/krb5.conf.example @@ -0,0 +1,26 @@ +[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 + default_domain = MIT.EDU + v4_instance_convert = { + mit = mit.edu + lithium = lithium.lcs.mit.edu + } + } + ANDREW.CMU.EDU = { + admin_server = vice28.fs.andrew.cmu.edu + } + +[domain_realm] + .mit.edu = ATHENA.MIT.EDU + mit.edu = ATHENA.MIT.EDU + .media.mit.edu = MEDIA-LAB.MIT.EDU + media.mit.edu = MEDIA-LAB.MIT.EDU + .ucsc.edu = CATS.UCSC.EDU + +[logging] +# kdc = CONSOLE diff --git a/xinetd.d/kpropd b/xinetd.d/kpropd new file mode 100644 index 00000000..af542fcf --- /dev/null +++ b/xinetd.d/kpropd @@ -0,0 +1,11 @@ +service tell +{ + disable = yes + socket_type = stream + user = root + wait = no + server = /usr/sbin/kpropd + only_from = 0.0.0.0 + log_on_success = PID HOST EXIT DURATION + log_on_failure = HOST +} -- 2.39.5