delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/07/19:30:01

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
Message-ID: <436FF172.6080702@cygwin.com>
Date: Mon, 07 Nov 2005 19:29:38 -0500
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 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: Xing Qiu <liqiuxing AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: How to run cygwin sshd as a domain user?
References: <BAY104-DAV37AC7D57E74B0DE0FAA91BF620 AT phx DOT gbl>
In-Reply-To: <BAY104-DAV37AC7D57E74B0DE0FAA91BF620@phx.gbl>

Xing Qiu wrote:
> Hi,
> 
> I have successfully installed cygwin and its openssh package.  I 
> followed the instruction about setting up sshd and it works as expected.
> 
> However this sshd service turns out to be a local service, which means I 
> can't get access to the net printers and the net file folders in an ssh 
> session.  So I wonder is there a way to run sshd as a domain user 
> instead of the default, local user? BTW, if I use cygwin bash or cygwin 
> xterm directly, I can access my net folder and net printer without any 
> problem (I think the default cygwin user is a domain user).
> 
> I even tried to run /usr/sbin/sshd.exe by using my default domain user 
> from a cygwin xterm, but then sshd refuse to run because of the 
> permission of several files/dirs are not correct.


Please check the FAQ at least before posting a question.

> FAQ:                   http://cygwin.com/faq/

There's often good information there that can help you.  In this case, you
should read:


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

-- 
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