Enable the SecureRPC bits in rc.conf, if the Administrator wants them.

This commit is contained in:
Mark Murray 1998-04-12 09:47:43 +00:00
parent 44ed0f3748
commit c1d639d22f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35149
8 changed files with 74 additions and 8 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}

View File

@ -6,7 +6,7 @@
#
# All arguments must be in double or single quotes.
#
# $Id: rc.conf,v 1.42 1998/04/02 15:17:35 ache Exp $
# $Id$
##############################################################
### Important initial Boot-time options #####################
@ -61,6 +61,9 @@ rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server.
rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO).
portmap_enable="YES" # Run the portmapper service (or NO).
portmap_flags="" # Flags to portmap (if enabled).
rpc_ypupdated_enable="NO" # Run if NIS master and SecureRPC (or NO).
keyserv_enable="NO" # Run the SecureRPC keyserver (or NO).
keyserv_flags="" # Flags to keyserv (if enabled).
rarpd_enable="NO" # Run rarpd (or NO).
rarpd_flags="" # Flags to rarpd.
xtend_enable="NO" # Run the X-10 power controller daemon.

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -197,6 +197,15 @@ network_pass2() {
fi
fi
# Start keyserv if we are running Secure RPC
if [ "X${keyserv_enable}" = X"YES" ]; then
echo -n ' keyserv'; keyserv ${keyserv_flags}
fi
# Start ypupdated if we are running Secure RPC and we are NIS master
if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
echo -n ' rpc.ypupdated'; rpc.ypupdated
fi
echo '.'
network_pass2_done=YES
}