delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/01/14:45:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: David Koppenhofer <david AT coffeefish DOT org>
Subject: Re: Seteuid "operation not permitted" error when using LSA for sshd
Date: Wed, 1 Aug 2012 18:43:23 +0000 (UTC)
Lines: 43
Message-ID: <loom.20120801T202919-35@post.gmane.org>
References: <CAKXb5pJZX7kaz12C1E-GEk7ws7oc2xAxQmr8EaND3KZ3_GzCmg AT mail DOT gmail DOT com> <CAKXb5pJjCBvbj1ZfU8WiEohz2QqW+edUi1Dz6anhELTk2wuZ_g AT mail DOT gmail DOT com> <CAKXb5p+ETsym1MtM3Ev964XN3aTLNMabSfPkSj0KEHE53GGZeg AT mail DOT gmail DOT com> <20120529125057 DOT GD12040 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> 
> On May 29 12:41, Mark Pattie wrote:
> > I have now removed Cygwin completely from the server and reinstalled.
> > I am using the default service account that Cygwin creates for sshd
> > (cyg_server), removed the "create a token object" permission for this
> > account and configured the LSA package but have the same problem. Any
> > advice on troubleshooting this issue further or any insight would be
> > great.
> 
> There's nothing you can do.  I have tested this scenario and it turns
> out that it's a problem with the cyglsa DLL itself, not even related
> to the permissions, but a generic problem.
> 
> I have fixed that in CVS (tested on W7 and XP).  The next developer
> snapshot (I will create one today or tomorrow) on
> http://cygwin.com/snapshots/ will contain this patch.  Just rip the
> cyglsa.dll file from the cygwin-inst-YYYYMMDD.tar.bz2 package, copy
> it to the /bin/cyglsa directory and reboot.  This should hopefully
> fix your problem.  Please report back.
> 
> Thanks,
> Corinna
> 

Hi Corinna,

I'm trying to get Cygwin sshd working with public key authentication on a Server
2008R2 box.  I don't have the "create a token object" permission either, so
followed the information in this thread to try to get LSA working:
I ran the /usr/bin/cyglsa-config script, downloaded the
cygwin-inst-20120530.tar.bz2 snapshot, and extracted the cyglsa64.dll file to
/bin/cyglsa/

I rebooted the server, made sure the sshd service was running, but I still
receive the "sshd: PID 3064: fatal: seteuid 1000: Operation not permitted" error.

Is there anything else I can try?

Thanks,
David




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