Subject: Re: NetBSD-1.6 and sshd
To: Juergen Tritthardt <juergent@mpimf-heidelberg.mpg.de>
From: Luke Mewburn <lukem@wasabisystems.com>
List: netbsd-help
Date: 08/30/2002 17:49:08
On Fri, Aug 30, 2002 at 09:41:54AM +0200, Juergen Tritthardt wrote:
  | On Fri, 30 Aug 2002, Lubomir Sedlacik wrote:
  | > do you have sshd=YES in /etc/rc.conf?  it seems that /etc/rc.d/sshd ends
  | > before even trying to execute the sshd binary.
  | 
  | It seems that's not possible to start sshd manually like the other scripts
  | in rc.d (for example /etc/rc.d/xdm start). Adding sshd=YES in rc.conf
  | solved the problem.

Of course it's possible to start sshd manually like the other scripts in rc.d.

Almost all of the rc.d scripts in the base system check an appropriate
rc.conf(5) variable, and if that variable is 'no', the script won't
start.  (E.g, in your example, xdm only starts because you have xdm=yes)

If you want to temporarily start a service no matter what the
rc.conf(5) setting is, use "/etc/rc.d/sshd forcestart".

Luke.