delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/25/14:13:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 25 Oct 2001 14:12:44 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
Cc: cygwin AT cygwin DOT 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 DOT buckley AT cportcorp DOT com>,
cygwin AT cygwin DOT com
Mime-Version: 1.0
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/

- Raw text -


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