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

From: Mark Foster (mark_at_foster.cc)
Date: 09/17/03

  • Next message: Jacques A. Vidrine: "Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh"
    To: Colin Percival <colin.percival@wadham.ox.ac.uk>
    Date: 17 Sep 2003 06:56:51 -0700
    
    
    

    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@foster.cc>	http://mark.foster.cc/
    
    



  • Next message: Jacques A. Vidrine: "Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh"