chmod/chown + ntsec doesn't work (was OpenSSH and RSA authentication problems)

Corinna Vinschen cygwin@cygwin.com
Fri Oct 26 11:00:00 GMT 2001


On Thu, Oct 25, 2001 at 02:12:44PM -0400, Jason Tishler wrote:
> 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.

I'm surprised, too.  I don't have a domain environment so I can't
test that further.  Are you sure that you're not just restricted
due to either having /etc/passwd or /etc/group not setup correctly
or actually having restrictions due to domain policy?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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



More information about the Cygwin mailing list