From owner-freebsd-security@FreeBSD.ORG Wed Sep 17 06:57:03 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B0416A4B3 for ; Wed, 17 Sep 2003 06:57:03 -0700 (PDT) Received: from postalley.nic.cc (postalley.nic.cc [206.253.214.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B3B743F3F for ; Wed, 17 Sep 2003 06:57:02 -0700 (PDT) (envelope-from mark@foster.cc) Received: from ip-216-73-140-100.vantas.net ([216.73.140.100] helo=gentoo1.lan.enic.cc) by postalley.nic.cc with asmtp (Exim 3.35 #1) id 19zcnc-000KAT-00; Wed, 17 Sep 2003 06:56:52 -0700 From: Mark Foster To: Colin Percival In-Reply-To: <5.0.2.1.1.20030916225106.02e09dc0@popserver.sfu.ca> References: <200309161817.h8GIH1GL072348@freefall.freebsd.org> <5.0.2.1.1.20030916225106.02e09dc0@popserver.sfu.ca> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-D22ZAS8g7HjkfQyfLgaj" Message-Id: <1063807011.15698.3.camel@gentoo1.enic.cc> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 17 Sep 2003 06:56:51 -0700 cc: security@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 13:57:03 -0000 --=-D22ZAS8g7HjkfQyfLgaj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Also, the command as shown doesn't work under csh, you must run under sh (or bash?) . serv1# kill `cat /var/run/sshd.pid` serv1# (. /etc/rc.conf && ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}) Bad : modifier in $ (-). serv1# sh # (. /etc/rc.conf && ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}) (This works) On Tue, 2003-09-16 at 22:52, Colin Percival wrote: > At 07:44 17/09/2003 +0200, horcy wrote: > ># (. /etc/rc.conf && ${sshd_program:-/usr/bin/sshd} ${sshd_flags}) > > > >yes i'm a n00b but what ever i try i get some error msg telling me that = it > >didnt work. i just started sshd with: > >sh /usr/sbin/sshd and worked too. > >But you would make me a very happy n00b if somebody can explain it :-) --=20 Some days it's just not worth chewing through the restraints... Mark Foster http://mark.foster.cc/ --=-D22ZAS8g7HjkfQyfLgaj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/aGgjsP1x4ZySqYcRAvCKAKCCoElSA8D3qjFJmD+OoHk3x754AwCghnSB jL2NjnRkBfaTF8tIBPp5L4M= =35+7 -----END PGP SIGNATURE----- --=-D22ZAS8g7HjkfQyfLgaj--