delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/08/18:02:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 8 Jan 2008 18:01:46 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Neil Aggarwal <neil AT JAMMConsulting DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: SFTP error 128
In-Reply-To: <000901c85235$687d3700$0502a8c0@neilhp>
Message-ID: <Pine.GSO.4.63.0801081758580.8532@access1.cims.nyu.edu>
References: <000101c84588$43006fb0$0502a8c0 AT neilhp> <000001c84706$a16fe560$0502a8c0 AT neilhp> <BAY113-DAV13031E2E7F96077BAC94C7F55A0 AT phx DOT gbl> <000201c848b9$6b779d90$0502a8c0 AT neilhp> <BAY113-DAV12AFEA1E64276B486376CEF5540 AT phx DOT gbl> <000301c84901$d4405540$0502a8c0 AT neilhp> <Pine DOT GSO DOT 4 DOT 63 DOT 0801021340500 DOT 27009 AT access1 DOT cims DOT nyu DOT edu> <000301c84efb$9bd0a840$0502a8c0 AT neilhp> <Pine DOT GSO DOT 4 DOT 63 DOT 0801041436140 DOT 4014 AT access1 DOT cims DOT nyu DOT edu> <000901c85235$687d3700$0502a8c0 AT neilhp>
MIME-Version: 1.0
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 Tue, 8 Jan 2008, Neil Aggarwal wrote:

> Igor:
>
> > See if
> > <http://www.derkeiler.com/Newsgroups/comp.security.ssh/2003-06
> > /0117.html>
> > is of any help.
>
> I logged in as the Administrator, ran the cygwin shell,
> and executed these commands:
> chmod 755 /
> chmod -R 755 /usr
>
> But, I still get error 128 from a domain user account.
> Is there a specific command you want me to run to try
> to set the user permissions?

Well, that posting was referring to permissions on *Windows* directories.
Cygwin isn't standalone -- to work, it needs the standard Windows DLLs
like kernel32.dll, winsock stuff, etc.  I'm guessing your C:\Windows
directory is accessible to local users but not domain users.

> > Also, is the sftp subsystem enabled in /etc/sshd_config?
>
> The /etc/sshd_config has this line:
> Subsystem       sftp    /usr/sbin/sftp-server
>
> I am able to use sftp with the Administrator account,
> just not with a domain user.
> Any other ideas?

Try to follow through on the permission idea.  The ability to use sftp as
another local user (not Administrator) would support this guess.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

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