delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/17/14:39:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <5.1.0.14.0.20030917142253.02624cb8@127.0.0.1>
X-Sender:
Date: Wed, 17 Sep 2003 14:33:48 -0400
To: Olivier ALLART <olivier DOT allart AT speeq DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: SSHD, Cygwin and Windows 2003 : continued with user rights
In-Reply-To: <3F688E83.600@speeq.com>
Mime-Version: 1.0

At 12:40 PM 9/17/2003, Olivier ALLART you wrote:
>Following Mark J de Jong 's step by step howto (see end of mail for some add-ons), I can now effectively log in with pkey method (that is, no password) using the 'administrator' user name.
>'whoami' returns 'administrator', however asking for a command such as IISRESET returns the error 'you are not a local administrator of this machine...', which means the rights management has failed somewhere.


I think you missed the fact that pubkey authentication does impersonation,
not Windows-style authentication.  So Windows apps won't recognize the pubkey
authentication as providing permissions to run restricted programs.  You'll
have to use password authentication if you want Windows to recognize the
user you've become via ssh.  You can find all sorts of discussion on the 
difference between pubkey and password authentication for ssh in the email 
archives if you're interested.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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