Subject: Re: kerberos V kpasswdd
To: Mark Davies <mark@MCS.VUW.AC.NZ>
From: Johan Danielsson <joda@pdc.kth.se>
List: current-users
Date: 04/10/2001 14:42:50
Mark Davies <mark@MCS.VUW.AC.NZ> writes:
> The heimdal texinfo doc says 'kpasswdd' is not run from 'inetd' but
> in -current it appears to be set up this way (commented out entry in
> inetd.conf and nothing in rc.d) so I removed the comment from
> inetd.conf and tried it.
We don't seem to enable the inetd support in kpasswd, so the
documentation is actually correct(!) in this case.
I've had a rc.d/kerberos5 looking something like this gathering
bit-dust here for some time. Something like this should be committed.
/Johan
#!/bin/sh
#
# $NetBSD$
#
# PROVIDE: kerberos5
# REQUIRE: DAEMON LOGIN
. /etc/rc.subr
arg=$1
required_files="/etc/krb5.conf"
name="kdc"
command="/usr/sbin/${name}"
load_rc_config $name
run_rc_command "$arg"
name="kadmind"
command="/usr/libexec/${name}"
command_args="&"
load_rc_config $name
run_rc_command "$arg"
name="kpasswdd"
command="/usr/libexec/${name}"
command_args="&"
load_rc_config $name
run_rc_command "$arg"