X-Spam-Check-By: sourceware.org
Message-Id: <200612202245.kBKMjuif024036@tigris.pounder.sol.net>
From: cygzx@trodman.com (Tom Rodman)
Reply-to: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: OT observation: displaying share perms while in an ssh session
In-reply-to: <5abc24640612201406g32c86fe6h4794a09c7855100d@mail.gmail.com>
References: <200612202149.kBKLngio023616@tigris.pounder.sol.net> <5abc24640612201406g32c86fe6h4794a09c7855100d@mail.gmail.com>
Date: Wed, 20 Dec 2006 16:45:55 -0600
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed 12/20/06 17:06 EST "Andrew Louie" wrote:
> 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?

Yes, I wanted to check the perms on a share, for sys admin work, from
within an ssh session.

We get R/W access to network shares all the time from within cygwin ssh
sessions on windows computers, but for *password*
authenticated ssh sessions.

> 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

Now we might be even further OT, but-Thank-you Andrew.

At the risk of getting Corinna angry.. does the approach in
the link above allow one to write to appropriately permissioned
network shares from within a public key authenticated ssh session?

Tom

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

