FreeBSD Security Advisory FreeBSD-SA-03:12.openssh

Mark Foster mark at foster.cc
Wed Sep 17 06:57:03 PDT 2003


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 :-)

-- 
Some days it's just not worth chewing through the restraints...
Mark Foster <mark at foster.cc>	http://mark.foster.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20030917/938b247d/attachment.bin


More information about the freebsd-security mailing list