delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/09/11:34:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040609111611.0320f468@pop.prospeed.net>
X-Sender:
Date: Wed, 09 Jun 2004 11:26:58 -0400
To: <cygwin AT equate DOT f9 DOT co DOT uk>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: RE: sshD fails to start as a service
In-Reply-To: <ECOWS04MNoxJWEfnLTe0003c909@smtp-out4.blueyonder.co.uk>
References: <Pine DOT GSO DOT 4 DOT 58 DOT 0406082155020 DOT 12299 AT slinky DOT cs DOT nyu DOT edu> <ECOWS04MNoxJWEfnLTe0003c909 AT smtp-out4 DOT blueyonder DOT co DOT uk>
Mime-Version: 1.0

At 06:55 AM 6/9/2004, you wrote:
>> 
>> You have user mounts instead of system ones.  Re-mount all 
>> your mounts as
>> system mounts, and it should work.  Below is probably the 
>> shortest way of
>> doing this:
>> 
>> eval "`mount -m | sed 's/ -u / -s /'`"
>> 
>
>I've done this.. Service started, once I changed the permissions on the host
>key files..
>Slight whoops there :-P
>
>Shouldn't this be the default mount type if it's required for things like
>sshd to operate correctly though? At least on the mounts created by Cygwin
>setup?


Are you saying that you did not choose "Just Me" in "Install for:" when 
you ran 'setup.exe'?  "All Users" is always selected for me.  AFAIK, it is 
the default.


>Seems a little odd to me.
>Out of curiousity, how are the mounts accessed by sshd when it's started as
>a service by windows? Something to do with cygrunsrv or the dll?


'sshd' itself accesses the file it needs and uses (transparently) the mount
table to map the POSIX paths to Win32.  Facilities in the Cygwin DLL provide
this support.  See the Cygwin API Reference if you're interested in the 
various APIs available for this and other operations.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019