*- On 22 Nov, Jason Taylor wrote about "sshd from /etc/rc5.d" > I recently installed openssh onto a debian box and the documentation > says that it is normally run from /etc/rc, it seems that /etc/rc5.d is the > comparable place in Debian to run it from. However, I created the sym link > to the sshd file located elsewhere in the /etc/rc5.d directory. I cannot get > sshd to start, I end up having to do it from the command line. Below is what > the sym link looks like. > > lrwxrwxrwx 1 root root 32 Nov 22 09:48 S99sshd -> > /usr/local/openssh-1.2pre13/sshd > > Also, I can run the sym link as root manually and it starts up okay. > > TIA.. > > -Jason > >
Debian's default run level is 2. So if you are just booting up it will not touch the links in rc5.d. Also make sure and read up on how the rc#.d scripts are called(/etc/init.d/README). They are called with the argument of 'start' if they are an S link and 'stop' if they are a K link. So your sshd should be a wrapper to start and stop the daemon dependent on the command line option given. Use /etc/init.d/skeleton as an example. Openssh is a potato package so if you are running slink you could download the debian source, diff and dsc files and build a debian package on your slink box(search these list archives for the details). -- Brian Servis -- ------------------------------------------------------------------------ Mechanical Engineering | Never criticize anybody until you Purdue University | have walked a mile in their shoes, [EMAIL PROTECTED] | because by that time you will be a http://www.ecn.purdue.edu/~servis | mile away and have their shoes.