delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/26/22:33:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=AWL,BAYES_50,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <5063BAF5.4000807@cygwin.com>
Date: Wed, 26 Sep 2012 22:33:25 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH, Windows 2000, cygrunsrv 1.0
References: <loom DOT 20120919T134338-941 AT post DOT gmane DOT org>
In-reply-to: <loom.20120919T134338-941@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 9/19/2012 7:56 AM, Andre Rothe wrote:
> Hi,
>
> I have to use an outdated system with Windows 2000 Server and an OpenSSH service
> on it. It uses OpenSSH 3.8.1p1-1 for Windows, which uses a Cygwin server v1.0 or
> something.
>
> The problem:
>
> I try to mount a windows network share on the Cygwin server to use it as home of
> the ssh users. In the registry I have defined a new mountpoint /transfer with a
> native key Z:\data
>
> Z: is a windows network share which is connected by a remote user account. The
> OpenSSH service runs as NT AUTHORITY\SYSTEM, I have mapped the drive Z as SYSTEM
> user (with a scheduled task, which runs as NT AUTHORITY\SYSTEM, just before I
> start the OpenSSH service with net start).
>
> But I cannot access the mountpoint (it is not available), every SSH user gets an
> error and the current path is /.
>
> How I can change the settings to get access to the drive? Please hold in your
> head, that I must use Windows 2000.

Have you seen this FAQ?

<http://cygwin.com/faq-nochunks.html#faq.using.shares>

You've created a mapped drive for the SYSTEM account but just like any other
user account, these aren't really accessible to all users.  While the FAQ
points to the Users Guide that has lots of info and options for configuring
access, you may find you can get by with connecting to the network share
you want as part of the login script for each user.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


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