Date: Wed, 19 Dec 2001 16:40:03 -0800 (PST) From: Ceri <setantae@submonkey.net> To: freebsd-bugs@FreeBSD.org Subject: [matt@soffen.com: Re: conf/33018: Patch for RC (add multiple SSHD configurations)] Message-ID: <200112200040.fBK0e3u13188@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/33018; it has been noted by GNATS.
From: Ceri <setantae@submonkey.net>
To: freebsd-gnats-submit@freebsd.org
Cc:
Subject: [matt@soffen.com: Re: conf/33018: Patch for RC (add multiple SSHD configurations)]
Date: Thu, 20 Dec 2001 00:35:54 +0000
--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Adding to audit trail.
Ceri
--YZ5djTAD1cGYuMQK
Content-Type: message/rfc822
Content-Disposition: inline
Return-path: <matt@soffen.com>
Envelope-to: setantae@localhost
Delivery-date: Wed, 19 Dec 2001 23:50:04 +0000
Received: from localhost.private.submonkey.net. ([127.0.0.1] helo=localhost)
by rhadamanth.private.submonkey.net with esmtp (Exim 3.33 #1)
id 16GqTM-0002H1-00
for setantae@localhost; Wed, 19 Dec 2001 23:50:04 +0000
Delivered-To: setantae@eidosnet.co.uk
Received: from mail.eidosnet.co.uk [195.40.67.19]
by localhost with POP3 (fetchmail-5.8.17)
for setantae@localhost (single-drop); Wed, 19 Dec 2001 23:50:04 +0000 (GMT)
Received: (qmail 77202 invoked from network); 19 Dec 2001 23:40:03 -0000
Received: from jupiter.easily.co.uk ([213.239.5.5]) (envelope-sender <matt@soffen.com>)
by nectarine.mail.uk.easynet.net (qmail-ldap-1.03) with SMTP
for <setantae@eidosnet.co.uk>; 19 Dec 2001 23:40:03 -0000
Received: from gateway.soffen.com (gateway.soffen.com [64.65.195.194])
by jupiter.easily.co.uk (Postfix) with SMTP id 3DC901242
for <setantae@submonkey.net>; Wed, 19 Dec 2001 23:39:05 +0000 (GMT)
Received: (qmail 56031 invoked from network); 19 Dec 2001 23:39:56 -0000
Received: from callie.soffen.com (HELO callie) (64.65.195.183)
by gateway.soffen.com with SMTP; 19 Dec 2001 23:39:56 -0000
Message-Id: <4.2.0.58.20011219183926.00a50c80@pop3.norton.antivirus>
X-Sender: matt/mail.soffen.com@pop3.norton.antivirus
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Wed, 19 Dec 2001 18:39:45 -0500
To: Ceri <setantae@submonkey.net>
From: Matthew Soffen <matt@soffen.com>
Subject: Re: conf/33018: Patch for RC (add multiple SSHD configurations)
In-Reply-To: <20011219220850.GA7690@rhadamanth>
References: <20011219213424.7762.qmail@truffle0.soffen.com>
<20011219213424.7762.qmail@truffle0.soffen.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 10:08 PM 12/19/2001 +0000, you wrote:
>Matthew, I think you forgot to attach the patch ;)
>
>Ceri
D'oh! That's what I get for sending it when I was in a rush.
--- /etc/rc.orig Mon Nov 20 07:03:04 2000
+++ /etc/rc Wed Dec 19 16:07:12 2001
@@ -453,6 +453,20 @@
echo -n ' sshd';
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
fi
+ while
+ [ $sshd -lt $sshd_count ]
+ do
+ eval enab=\$sshd_enable_$sshd
+ case ${enab} in
+ [Yy][Ee][Ss])
+ if [ -x ${sshd_program:-/usr/sbin/sshd} ]; then
+ echo -n ' sshd'$sshd;
+ ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}_$sshd
+ fi
+ ;;
+ esac
+ sshd=`expr $sshd + 1`
+ done
;;
esac
--- /etc/defaults/rc.conf.orig Mon Nov 20 07:03:04 2000
+++ /etc/defaults/rc.conf Wed Dec 19 16:23:59 2001
@@ -149,9 +149,11 @@
pppoed_provider="*" # Provider and ppp(8) config file entry.
pppoed_flags="-P /var/run/pppoed.pid" # Flags to pppoed (if enabled).
pppoed_interface="fxp0" # The interface that pppoed runs on.
+sshd_count=1
sshd_enable="NO" # Enable sshd
-sshd_program="/usr/sbin/sshd" # path to sshd, if you want a different one.
-sshd_flags="" # Additional flags for sshd.
+sshd_enable_1="YES" # Enable sshd Conf 1
+sshd_program_1="/usr/sbin/sshd" # path to sshd, if you want a different one.
+sshd_flags_1="" # Additional flags for sshd.
### Network Time Services options: ###
timed_enable="NO" # Run the time daemon (or NO).
--YZ5djTAD1cGYuMQK--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112200040.fBK0e3u13188>
