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

X-Spam-Check-By: sourceware.org
Message-Id: <200612202245.kBKMjuif024036@tigris.pounder.sol.net>
From: cygzx AT trodman DOT com (Tom Rodman)
Reply-to: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: OT observation: displaying share perms while in an ssh session
In-reply-to: <5abc24640612201406g32c86fe6h4794a09c7855100d@mail.gmail.com>
References: <200612202149 DOT kBKLngio023616 AT tigris DOT pounder DOT sol DOT net> <5abc24640612201406g32c86fe6h4794a09c7855100d AT mail DOT gmail DOT com>
Date: Wed, 20 Dec 2006 16:45:55 -0600
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 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/

- Raw text -


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