[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] other startup services



Assuming you compiled openssh from source as latest (with: ./configure,
make, make install) , the executable will be located at:
/usr/local/sbin/sshd.

If it's not, change my line to correspond with your location.

do "cd /etc/rc.d"
edit the file rc.local:

 after #!/bin/sh (should be 1st line), add this:

<start copying from here>
if [ -x /usr/local/sbin/sshd ]; then
   /usr/local/sbin/sshd
fi
<stop copying>

the if statement checks that sshd actually exists, and only then start it.
*important* there MUST be a space between the "-x" and the "[", as well as
beteed the ".../sshd" and the "]" - IT WON'T WORK OTHERWISE.

save and leave the editor.
now kill the sshd. now do "./rc.local" - if everything is ok, sshd should
be luanched!

that's it.

On Tue, 27 Feb 2001, Loryan Strant wrote:

> Heyas,
> 
> I've recently installed OpenSSH and xntpd.
> They are in and do work, but how do I set them up so that they begin running
> at boot-up?
> 
> Thanks,
> 
> Loryan
> 
> 
> 
> *******************************************************************
> Loryan Strant
> ExaSites Pty Ltd
> Email://loryan@xxxxxxxxxx
> Web://www.exa.com.au
> Disclaimer:
> Nothing in this correspondence:
> 	1.	should be interpreted as being legal advice;
> 	2.	shall be construed as a solicitation of any kind;
> 	3.	should be interpreted as a signature or mark that can create a legally
> binding commercial relationship;
> 	4.	should be omitted in any fair use of this correspondence; and
> 	5.	is necessarily the opinion of ExaSites Pty Ltd
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>