Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 25 Oct 2001 14:12:44 -0400
From: Jason Tishler <jason@tishler.net>
To: Peter Buckley <peter.buckley@cportcorp.com>
Cc: cygwin@cygwin.com
Subject: Re: chmod/chown + ntsec doesn't work (was OpenSSH and RSA authentication  problems)
Message-ID: <20011025141244.A1888@dothill.com>
Mail-Followup-To: Peter Buckley <peter.buckley@cportcorp.com>,
	cygwin@cygwin.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3BBDC64A.62A1E696@cportcorp.com>
User-Agent: Mutt/1.3.18i

Peter,

On Fri, Oct 05, 2001 at 10:40:10AM -0400, Peter Buckley wrote:
> But, chown still doesn't work.

I just stumbled over chown not working under certain conditions from
a ssh login myself.  If I ssh into a domain machine without supplying
a password, then I seem to be restricted in the operations that I
can do -- even though I am a member of the local Administrators group.
For example, I cannot chown a (local) file nor start/stop a service.
However, if I ssh via password exchange, then I can perform these operations.

On the other hand, if I ssh to a workgroup machine, then I can perform
these operations regardless of how I authenticate.

I know that it has been noted that one cannot access network shares from
a ssh login due to running under the LocalSystem account.  But, I was
surprised by the chown and start/stop service restrictions since I
perceived them to be local operations.

Anyway, I'm not sure if you are in a domain environment or not.  But if
you are, then this could explain the behavior that you were observing.

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

