delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/20/17:07:20

X-Spam-Check-By: sourceware.org
Message-ID: <5abc24640612201406g32c86fe6h4794a09c7855100d@mail.gmail.com>
Date: Wed, 20 Dec 2006 17:06:52 -0500
From: "Andrew Louie" <louiea AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OT observation: displaying share perms while in an ssh session
In-Reply-To: <200612202149.kBKLngio023616@tigris.pounder.sol.net>
MIME-Version: 1.0
References: <200612202149 DOT kBKLngio023616 AT tigris DOT pounder DOT sol DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 12/20/06, Tom Rodman <cygzx <at> trodman.com> wrote:
> Thought this was interesting. My theory: if your in a cygwin
> *password* *authenticated* ssh session, and you try to get a reporting
> of the permissions for a network share, that the report will fail,
> unless SYSTEM has read rights on the share.

Are you talking about having an SSH daemon running through cygwin on a
windows computer, then accessing that computer through ssh, and trying
to read network shares off of it?

You have to change the SSH daemon to run as a user of the domain so
that it can read network shares properly, this guide is a big help:

http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html



-- 
-Andrew Louie

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