init.d startup scripts.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: DonHarropdon@nis4u.com
Date:  
Subject: init.d startup scripts.
Hey pluggers.

I've written an HPUX init.d startup script to start sshd at bootup.
The problem is that no matter what I do the daemon is killed off after
init.d is over. I know that it starts because I've encorporated a ps
command to output to a file in my script and it is a process running.
After I log in though and do an lsof -i :22 or a ps to find my sshdaemon
it's not there. I've tried starting it with an & for a background process
and that doesn't work. I've also tried su'ing to root and executing sshd
but I get an error message saying I don't have execute permissions. sshd
is chmod'ed 755 so it should be able to execute. I need a bone here
guys.. :-)