public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: sshd through sysV init
@ 2003-04-01 17:59 Vince Hoffman
  0 siblings, 0 replies; 12+ messages in thread
From: Vince Hoffman @ 2003-04-01 17:59 UTC (permalink / raw)
  To: 'Sergey Okhapkin', Vince Hoffman, cygwin

doh must be tired or something, i was sure they were system owned when i
started trying. (doesnt ssh-host-config make them system owned ? anyway
thanks :) I'm only doing it so i only have to stop init rather than loads of
services when i update cygwin ;)

> -----Original Message-----
> From: Sergey Okhapkin [mailto:sos@sokhapkin.dyndns.org]
> Sent: 01 April 2003 18:55
> To: 'Vince Hoffman'; cygwin@cygwin.com
> Subject: RE: sshd through sysV init
> 
> 
> Make sure /etc/ssh_* files are readable for SYSTEM account.
> 
> > -----Original Message-----
> > From: cygwin-owner@cygwin.com
> > [mailto:cygwin-owner@cygwin.com] On Behalf Of Vince Hoffman
> > Sent: Tuesday, April 01, 2003 12:27 PM
> > To: 'cygwin@cygwin.com'
> > Subject: sshd through sysV init
> >
> >
> > Hi all,
> > 	I'm having some problems trying to use sshd from init.
> > I installed openssh, init, initscripts and chkconfig, ran
> > init-config answering no to overwriting the initscripts files.
> > next i ran ssh-host-config answering yes to all except
> > install as service.
> > finaly i ran "/usr/sbin/chkconfig sshd on" (quotes just there
> > to emphasize) and started the init service. init started
> > fine, event log says its in run level 3, chkconfig says that
> > sshd is on in runlevel 3 but no sshd process is running, I
> > tried adding a line containing OPTIONS=-ddd to
> > /etc/rc.d/init.d/sshd to get some logging going but no luck
> > (my shell scriptings pretty bad so no big supprise if i
> > interperated that wrong.)
> > and clues appreciated.
> >
> > --------------------------------------------------------------
> > ---------
> > Vince Hoffman     Systems Administrator
> > Euro RSCG Circle (London)
> > P: 020 7959 7576  M: 0777 5822213
> > Icq: 50905590     PGP ID: 0xC859C861
> > "A vacuum is a hell of a lot better than some of the stuff
> > that nature replaces it with."
> >                 -- Tennessee Williams
> > --------------------------------------------------------------
> > ---------
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
> 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: sshd through sysV init
  2003-04-01 22:05             ` Corinna Vinschen
@ 2003-04-01 22:13               ` Sergey Okhapkin
  0 siblings, 0 replies; 12+ messages in thread
From: Sergey Okhapkin @ 2003-04-01 22:13 UTC (permalink / raw)
  To: cygwin

The initscripts' inittab refers to the scripts from initscripts package.

Sergey Okhapkin
Somerset NJ

> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> Sent: Tuesday, April 01, 2003 5:06 PM
> To: cygwin@cygwin.com
> Subject: Re: sshd through sysV init
>
>
> On Tue, Apr 01, 2003 at 04:56:39PM -0500, Sergey Okhapkin wrote:
> > But what the behavior of the script should be? The problem is that 2
> > packages have common file - /etc/inittab. The only solution
> I see is to
> > combine 2 packages into a single sysvinit+initscripts package.
>
> Why doesn't that script simply create a inittab which is the same
> as the one created by the initscripts postinstall script?
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails
> regarding Cygwin to
> Cygwin Developer
> mailto:cygwin@cygwin.com
> Red Hat, Inc.
>
> --
> Unsubscribe info:
>     http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sshd through sysV init
  2003-04-01 21:56           ` Sergey Okhapkin
@ 2003-04-01 22:05             ` Corinna Vinschen
  2003-04-01 22:13               ` Sergey Okhapkin
  0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-01 22:05 UTC (permalink / raw)
  To: cygwin

On Tue, Apr 01, 2003 at 04:56:39PM -0500, Sergey Okhapkin wrote:
> But what the behavior of the script should be? The problem is that 2
> packages have common file - /etc/inittab. The only solution I see is to
> combine 2 packages into a single sysvinit+initscripts package.

Why doesn't that script simply create a inittab which is the same
as the one created by the initscripts postinstall script?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: sshd through sysV init
  2003-04-01 21:31         ` Corinna Vinschen
@ 2003-04-01 21:56           ` Sergey Okhapkin
  2003-04-01 22:05             ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Okhapkin @ 2003-04-01 21:56 UTC (permalink / raw)
  To: cygwin

But what the behavior of the script should be? The problem is that 2
packages have common file - /etc/inittab. The only solution I see is to
combine 2 packages into a single sysvinit+initscripts package.

Sergey Okhapkin
Somerset NJ

> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> Sent: Tuesday, April 01, 2003 4:32 PM
> To: cygwin@cygwin.com
> Subject: Re: sshd through sysV init
>
>
> On Tue, Apr 01, 2003 at 04:00:43PM -0500, Sergey Okhapkin wrote:
> > The original posting mentioned that inittab has not been
> overwritten.
>
> That was not my question.  The question is, is it intended that
> init-config creates a mostly useless inittab file.  I have some
> doubts.  Perhaps it would make sense to create a new script?
>
> Corinna
>
> > Sergey Okhapkin
> > Somerset NJ
> >
> > > -----Original Message-----
> > > From: cygwin-owner@cygwin.com
> > > [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> > > Sent: Tuesday, April 01, 2003 3:07 PM
> > > To: cygwin@cygwin.com
> > > Subject: Re: sshd through sysV init
> > >
> > >
> > > On Tue, Apr 01, 2003 at 02:01:39PM -0500, Sergey Okhapkin wrote:
> > > > Look at the first line of sshd and functions scripts:-)
> > > "bash -x ./sshd"
> > > > works fine.
> > >
> > > You're right but it failed for me nevertheless.
> > >
> > > It turned out that a call to `init-config' and answering
> the question
> > > "Overwrite existing /etc/inittab file? (yes/no)" with
> "yes" destroys
> > > the inittab file created by the postinstall script and only keeps
> > >
> > >   # id:runlevels:action:process
> > >   id:3:initdefault:
> > >   rc::bootwait:/etc/rc
> > >   #S0:2345:respawn:/sbin/agetty -L -T vt100 -n ttyS0 9600 ttyS0
> > >
> > > Is that actually intended?
> > >
> > > Corinna
> > >
> > > --
> > > Corinna Vinschen                  Please, send mails
> > > regarding Cygwin to
> > > Cygwin Developer
> > > mailto:cygwin@cygwin.com
> > > Red Hat, Inc.
> > >
> > > --
> > > Unsubscribe info:
> > >     http://cygwin.com/ml/#unsubscribe-simple
> > > Bug reporting:         http://cygwin.com/bugs.html
> > > Documentation:         http://cygwin.com/docs.html
> > > FAQ:                   http://cygwin.com/faq/
> > >
> >
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
>
> --
> Corinna Vinschen                  Please, send mails
> regarding Cygwin to
> Cygwin Developer
> mailto:cygwin@cygwin.com
> Red Hat, Inc.
>
> --
> Unsubscribe info:
>     http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sshd through sysV init
  2003-04-01 21:00       ` Sergey Okhapkin
@ 2003-04-01 21:31         ` Corinna Vinschen
  2003-04-01 21:56           ` Sergey Okhapkin
  0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-01 21:31 UTC (permalink / raw)
  To: cygwin

On Tue, Apr 01, 2003 at 04:00:43PM -0500, Sergey Okhapkin wrote:
> The original posting mentioned that inittab has not been overwritten.

That was not my question.  The question is, is it intended that
init-config creates a mostly useless inittab file.  I have some
doubts.  Perhaps it would make sense to create a new script?

Corinna

> Sergey Okhapkin
> Somerset NJ
> 
> > -----Original Message-----
> > From: cygwin-owner@cygwin.com
> > [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> > Sent: Tuesday, April 01, 2003 3:07 PM
> > To: cygwin@cygwin.com
> > Subject: Re: sshd through sysV init
> >
> >
> > On Tue, Apr 01, 2003 at 02:01:39PM -0500, Sergey Okhapkin wrote:
> > > Look at the first line of sshd and functions scripts:-)
> > "bash -x ./sshd"
> > > works fine.
> >
> > You're right but it failed for me nevertheless.
> >
> > It turned out that a call to `init-config' and answering the question
> > "Overwrite existing /etc/inittab file? (yes/no)" with "yes" destroys
> > the inittab file created by the postinstall script and only keeps
> >
> >   # id:runlevels:action:process
> >   id:3:initdefault:
> >   rc::bootwait:/etc/rc
> >   #S0:2345:respawn:/sbin/agetty -L -T vt100 -n ttyS0 9600 ttyS0
> >
> > Is that actually intended?
> >
> > Corinna
> >
> > --
> > Corinna Vinschen                  Please, send mails
> > regarding Cygwin to
> > Cygwin Developer
> > mailto:cygwin@cygwin.com
> > Red Hat, Inc.
> >
> > --
> > Unsubscribe info:
> >     http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: sshd through sysV init
  2003-04-01 20:07     ` Corinna Vinschen
@ 2003-04-01 21:00       ` Sergey Okhapkin
  2003-04-01 21:31         ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Okhapkin @ 2003-04-01 21:00 UTC (permalink / raw)
  To: cygwin

The original posting mentioned that inittab has not been overwritten.

Sergey Okhapkin
Somerset NJ

> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> Sent: Tuesday, April 01, 2003 3:07 PM
> To: cygwin@cygwin.com
> Subject: Re: sshd through sysV init
>
>
> On Tue, Apr 01, 2003 at 02:01:39PM -0500, Sergey Okhapkin wrote:
> > Look at the first line of sshd and functions scripts:-)
> "bash -x ./sshd"
> > works fine.
>
> You're right but it failed for me nevertheless.
>
> It turned out that a call to `init-config' and answering the question
> "Overwrite existing /etc/inittab file? (yes/no)" with "yes" destroys
> the inittab file created by the postinstall script and only keeps
>
>   # id:runlevels:action:process
>   id:3:initdefault:
>   rc::bootwait:/etc/rc
>   #S0:2345:respawn:/sbin/agetty -L -T vt100 -n ttyS0 9600 ttyS0
>
> Is that actually intended?
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails
> regarding Cygwin to
> Cygwin Developer
> mailto:cygwin@cygwin.com
> Red Hat, Inc.
>
> --
> Unsubscribe info:
>     http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sshd through sysV init
  2003-04-01 19:00   ` Sergey Okhapkin
@ 2003-04-01 20:07     ` Corinna Vinschen
  2003-04-01 21:00       ` Sergey Okhapkin
  0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-01 20:07 UTC (permalink / raw)
  To: cygwin

On Tue, Apr 01, 2003 at 02:01:39PM -0500, Sergey Okhapkin wrote:
> Look at the first line of sshd and functions scripts:-) "bash -x ./sshd"
> works fine.

You're right but it failed for me nevertheless.

It turned out that a call to `init-config' and answering the question
"Overwrite existing /etc/inittab file? (yes/no)" with "yes" destroys
the inittab file created by the postinstall script and only keeps

  # id:runlevels:action:process
  id:3:initdefault:
  rc::bootwait:/etc/rc
  #S0:2345:respawn:/sbin/agetty -L -T vt100 -n ttyS0 9600 ttyS0

Is that actually intended?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: sshd through sysV init
  2003-04-01 18:23 ` Corinna Vinschen
@ 2003-04-01 19:00   ` Sergey Okhapkin
  2003-04-01 20:07     ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Okhapkin @ 2003-04-01 19:00 UTC (permalink / raw)
  To: cygwin

Look at the first line of sshd and functions scripts:-) "bash -x ./sshd"
works fine.

> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> Sent: Tuesday, April 01, 2003 1:23 PM
> To: 'cygwin@cygwin.com'
> Subject: Re: sshd through sysV init
>
>
> On Tue, Apr 01, 2003 at 06:26:52PM +0100, Vince Hoffman wrote:
> > Hi all,
> > 	I'm having some problems trying to use sshd from init.
>
> I tried the init.d/sshd script on the CLI and got the
> following output:
>
> [/etc/rc.d/init.d]$ sh -x ./sshd
> + . /etc/rc.d/init.d/functions
> + TEXTDOMAIN=initscripts
> + TEXTDOMAINDIR=/etc/locale
> + umask 022
> + export
> +
> PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home/corinn
> a/bin:/usr/local/bin:/usr/bin:/bin:/mnt/c/WINDOWS/system32:/mn
> t/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/usr/bin:/bin:/usr/X11R6/bin
> + [ -z  ]
> + COLUMNS=80
> + [ -f /etc/sysconfig/i18n -a -z  ]
> + [ -z  ]
> + [ -f /etc/sysconfig/init ]
> + BOOTUP=color
> + RES_COL=60
> + MOVE_TO_COL=echo -en \033[60G
> + SETCOLOR_SUCCESS=echo -en \033[1;32m
> + SETCOLOR_FAILURE=echo -en \033[1;31m
> + SETCOLOR_WARNING=echo -en \033[1;33m
> + SETCOLOR_NORMAL=echo -en \033[0;39m
> + LOGLEVEL=1
> + [ -x /sbin/consoletype ]
> + [ color != verbose ]
> + INITLOG_ARGS=-q
> /etc/rc.d/init.d/functions: 234: Syntax error: Bad substitution
>
> Sergey?
>
> --
> Corinna Vinschen                  Please, send mails
> regarding Cygwin to
> Cygwin Developer
> mailto:cygwin@cygwin.com
> Red Hat, Inc.
>
> --
> Unsubscribe info:
>     http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sshd through sysV init
  2003-04-01 17:26 Vince Hoffman
  2003-04-01 17:54 ` Sergey Okhapkin
@ 2003-04-01 18:23 ` Corinna Vinschen
  2003-04-01 19:00   ` Sergey Okhapkin
  2003-04-01 18:23 ` Thorsten Kampe
  2 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-01 18:23 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

On Tue, Apr 01, 2003 at 06:26:52PM +0100, Vince Hoffman wrote:
> Hi all,
> 	I'm having some problems trying to use sshd from init. 

I tried the init.d/sshd script on the CLI and got the following output:

[/etc/rc.d/init.d]$ sh -x ./sshd
+ . /etc/rc.d/init.d/functions
+ TEXTDOMAIN=initscripts
+ TEXTDOMAINDIR=/etc/locale
+ umask 022
+ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home/corinna/bin:/usr/local/bin:/usr/bin:/bin:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/usr/bin:/bin:/usr/X11R6/bin
+ [ -z  ]
+ COLUMNS=80
+ [ -f /etc/sysconfig/i18n -a -z  ]
+ [ -z  ]
+ [ -f /etc/sysconfig/init ]
+ BOOTUP=color
+ RES_COL=60
+ MOVE_TO_COL=echo -en \033[60G
+ SETCOLOR_SUCCESS=echo -en \033[1;32m
+ SETCOLOR_FAILURE=echo -en \033[1;31m
+ SETCOLOR_WARNING=echo -en \033[1;33m
+ SETCOLOR_NORMAL=echo -en \033[0;39m
+ LOGLEVEL=1
+ [ -x /sbin/consoletype ]
+ [ color != verbose ]
+ INITLOG_ARGS=-q
/etc/rc.d/init.d/functions: 234: Syntax error: Bad substitution

Sergey?

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sshd through sysV init
  2003-04-01 17:26 Vince Hoffman
  2003-04-01 17:54 ` Sergey Okhapkin
  2003-04-01 18:23 ` Corinna Vinschen
@ 2003-04-01 18:23 ` Thorsten Kampe
  2 siblings, 0 replies; 12+ messages in thread
From: Thorsten Kampe @ 2003-04-01 18:23 UTC (permalink / raw)
  To: cygwin

* Vince Hoffman (03-04-01 19:26 +0100)
> Hi all,
> 	I'm having some problems trying to use sshd from init. 
> I installed openssh, init, initscripts and chkconfig, ran init-config
> answering no to overwriting the initscripts files. 
> next i ran ssh-host-config answering yes to all except install as service. 
> finaly i ran "/usr/sbin/chkconfig sshd on" (quotes just there to emphasize)

Says "to activate sshd script execute "/sbin/chkconfig --add sshd" in 
the readme.

> and started the init service.
> init started fine, event log says its in run level 3, chkconfig says that
> sshd is on in runlevel 3 but no sshd process is running, I tried adding a
> line containing OPTIONS=-ddd to /etc/rc.d/init.d/sshd to get some logging
> going but no luck (my shell scriptings pretty bad so no big supprise if i
> interperated that wrong.)  
> and clues appreciated.

Run sshd in Daemon mode (-D) and see if it starts. Check the Event log 
and /var/log/sshd.log.

Just curious: why do you want to use init - you're sure you don't mean 
"inetd"?

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: sshd through sysV init
  2003-04-01 17:26 Vince Hoffman
@ 2003-04-01 17:54 ` Sergey Okhapkin
  2003-04-01 18:23 ` Corinna Vinschen
  2003-04-01 18:23 ` Thorsten Kampe
  2 siblings, 0 replies; 12+ messages in thread
From: Sergey Okhapkin @ 2003-04-01 17:54 UTC (permalink / raw)
  To: 'Vince Hoffman', cygwin

Make sure /etc/ssh_* files are readable for SYSTEM account.

> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Vince Hoffman
> Sent: Tuesday, April 01, 2003 12:27 PM
> To: 'cygwin@cygwin.com'
> Subject: sshd through sysV init
>
>
> Hi all,
> 	I'm having some problems trying to use sshd from init.
> I installed openssh, init, initscripts and chkconfig, ran
> init-config answering no to overwriting the initscripts files.
> next i ran ssh-host-config answering yes to all except
> install as service.
> finaly i ran "/usr/sbin/chkconfig sshd on" (quotes just there
> to emphasize) and started the init service. init started
> fine, event log says its in run level 3, chkconfig says that
> sshd is on in runlevel 3 but no sshd process is running, I
> tried adding a line containing OPTIONS=-ddd to
> /etc/rc.d/init.d/sshd to get some logging going but no luck
> (my shell scriptings pretty bad so no big supprise if i
> interperated that wrong.)
> and clues appreciated.
>
> --------------------------------------------------------------
> ---------
> Vince Hoffman     Systems Administrator
> Euro RSCG Circle (London)
> P: 020 7959 7576  M: 0777 5822213
> Icq: 50905590     PGP ID: 0xC859C861
> "A vacuum is a hell of a lot better than some of the stuff
> that nature replaces it with."
>                 -- Tennessee Williams
> --------------------------------------------------------------
> ---------
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* sshd through sysV init
@ 2003-04-01 17:26 Vince Hoffman
  2003-04-01 17:54 ` Sergey Okhapkin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Vince Hoffman @ 2003-04-01 17:26 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi all,
	I'm having some problems trying to use sshd from init. 
I installed openssh, init, initscripts and chkconfig, ran init-config
answering no to overwriting the initscripts files. 
next i ran ssh-host-config answering yes to all except install as service. 
finaly i ran "/usr/sbin/chkconfig sshd on" (quotes just there to emphasize)
and started the init service.
init started fine, event log says its in run level 3, chkconfig says that
sshd is on in runlevel 3 but no sshd process is running, I tried adding a
line containing OPTIONS=-ddd to /etc/rc.d/init.d/sshd to get some logging
going but no luck (my shell scriptings pretty bad so no big supprise if i
interperated that wrong.)  
and clues appreciated.

-----------------------------------------------------------------------
Vince Hoffman     Systems Administrator
Euro RSCG Circle (London)
P: 020 7959 7576  M: 0777 5822213
Icq: 50905590     PGP ID: 0xC859C861
"A vacuum is a hell of a lot better than some of the stuff that nature
replaces it with."
                -- Tennessee Williams
-----------------------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-04-01 22:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-01 17:59 sshd through sysV init Vince Hoffman
  -- strict thread matches above, loose matches on Subject: below --
2003-04-01 17:26 Vince Hoffman
2003-04-01 17:54 ` Sergey Okhapkin
2003-04-01 18:23 ` Corinna Vinschen
2003-04-01 19:00   ` Sergey Okhapkin
2003-04-01 20:07     ` Corinna Vinschen
2003-04-01 21:00       ` Sergey Okhapkin
2003-04-01 21:31         ` Corinna Vinschen
2003-04-01 21:56           ` Sergey Okhapkin
2003-04-01 22:05             ` Corinna Vinschen
2003-04-01 22:13               ` Sergey Okhapkin
2003-04-01 18:23 ` Thorsten Kampe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).