www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/26/15:25:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4BAD1814.30500@oepping.com>
Date: Fri, 26 Mar 2010 14:24:52 -0600
From: Allan Oepping <allan-cygwin AT oepping DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH - sftp not working for non-Administrator users - alternate solution
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I had the same issue with non-administrators not being able to login to
ssh sftp except copying cygwin1.dll did not fix this issue and in fact
caused the sshd service to fail to start.

I had to use the ntrights program to add the interactivelogon right to
the user loging in.

See: http://support.microsoft.com/kb/315276

ntrights -r SeDenyInteractiveLogonRight -u username
ntrights +r SeInteractiveLogonRight -u username

That seems to fix the issue.

Thanks.

Allan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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