search for: sshd_daemon

Displaying 2 results from an estimated 2 matches for "sshd_daemon".

2001 Jan 11
0
OpenSSH 2.3.0p1 on Compaq Alpha
...e, I want to contribute a boot script for sshd under Tru64 UNIX: #!/sbin/sh # # Purpose: Start sshd for OpenSSH at boot time. # For Compaq Alpha (Tru64 UNIX 4.0F and 5.1). # # Author: Hans-Georg Pabst, CH-8702 Zollikon, Switzerland # <hans-georg.pabst at ch.adtranz.com> # SSHD_DAEMON=/usr/local/sbin/sshd SSHD_CONFIG=/etc/ssh SSHD_OPTS= SSHD_TITLE="SSH Daemon (OpenSSH 2.3.0)" SSHD_PID_FILE=/var/run/sshd.pid PATH=/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin export PATH Pid=`/sbin/init.d/bin/getpid $SSHD_DAEMON -uroot` case "$1" in 'start...
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
....c openssh-2.2.0p1-pen1/bsd-daemon.c *** openssh-2.2.0p1/bsd-daemon.c Wed Aug 30 00:21:22 2000 --- openssh-2.2.0p1-pen1/bsd-daemon.c Thu Jan 4 23:32:52 2001 *************** *** 70,74 **** return (0); } ! #endif /* !HAVE_DAEMON */ --- 70,111 ---- return (0); } ! #endif ! ! int ! sshd_daemon(nochdir, noclose) ! int nochdir, noclose; ! { ! int fd; ! ! if (getppid() != 1) ! { ! switch (fork()) { ! case -1: ! return (-1); ! case 0: ! break; ! default: ! _exit(0); ! } ! } ! ! signal(SIGTTOU, SIG_IGN); ! signal(SIGTTIN, SIG_IGN); ! ! if (sets...