Skip site navigation (1)Skip section navigation (2)
Date:      17 Sep 2003 06:56:51 -0700
From:      Mark Foster <mark@foster.cc>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc:        security@freebsd.org
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh
Message-ID:  <1063807011.15698.3.camel@gentoo1.enic.cc>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <mark@foster.cc>	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1063807011.15698.3.camel>