Browse Source

add an option for kerberos slave servers.

OPENBSD_2_3
art 27 years ago
parent
commit
b1425777e6
2 changed files with 19 additions and 10 deletions
  1. +10
    -2
      src/etc/rc
  2. +9
    -8
      src/etc/rc.conf

+ 10
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.65 1998/02/13 06:35:25 marc Exp $
# $OpenBSD: rc,v 1.66 1998/02/18 14:05:27 art Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -395,13 +395,21 @@ if [ -f /sbin/ldconfig ]; then
ldconfig $_LIBS
fi
# Kerberos runs ONLY on the Kerberos server machine
# Kerberos runs ONLY on the Kerberos servers
# Kadmin is runs only on the main server
if [ X${kerberos_server} = X"YES" ]; then
echo 'kerberos server'
/usr/libexec/kerberos >> /var/log/kerberos.log &
/usr/libexec/kadmind -n >> /var/log/kadmind.log &
fi
# Kpropd runs only on Kerberos slave servers
if [ X${kerberos_slave} = X"YES" ]; then
echo 'kerberos slave server'
/usr/libexec/kerberos -s >> /var/log/kerberos.log &
/usr/libexec/kpropd -i &
fi
. /etc/rc.local
date


+ 9
- 8
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.13 1998/02/11 02:28:11 deraadt Exp $
# $OpenBSD: rc.conf,v 1.14 1998/02/18 14:05:28 art Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for 'normal' use: routed_flags="-q"
@ -9,7 +9,7 @@ rarpd_flags=NO # for 'normal' use: rarpd_flags="-a"
bootparamd_flags=NO # for 'normal' use: bootparamd_flags=""
rbootd_flags=NO # for 'normal' use: rbootd_flags=""
sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m"
smtpfwdd_flags=NO # for 'normal' use: smtpfwdd_flags="", no -bd above.
smtpfwdd_flags=NO # for 'normal' use: smtpfwdd_flags="", no -bd above.
named_flags=NO # for 'normal' use: named_flags=""
timed_flags=NO # for 'normal' use: timed_flags=""
photurisd_flags="" # for 'normal' use: photurisd_flags=""
@ -21,14 +21,15 @@ nfs_server=NO
nfs_client=NO
lockd=NO
gated=NO
kerberos_server=NO
kerberos_server=NO # kerberos server. see /usr/share/info/kth-krb.info
kerberos_slave=NO # kerberos slave server.
amd=NO
ipfilter=NO
nat=NO # for "YES" ipfilter must also be "YES"
portmap=YES # almost always needed
inetd=YES # almost always needed
lpd=NO # printing daemons
check_quotas=YES # NO may be desireable in some YP environments
nat=NO # for "YES" ipfilter must also be "YES"
portmap=YES # almost always needed
inetd=YES # almost always needed
lpd=NO # printing daemons
check_quotas=YES # NO may be desireable in some YP environments
# miscellaneous other flags
# only used if the appropriate server is marked YES above


Loading…
Cancel
Save