delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/01/14:36:02

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
X-pair-Authenticated: 64.236.139.249
Message-ID: <3F2AB2F6.1090107@aol.net>
Date: Fri, 01 Aug 2003 11:35:34 -0700
From: Myk Melez <myk AT aol DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030708 Thunderbird/0.1a
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Administrator lacking super-user privileges on cygwin installation
References: <3F299C67 DOT 1070700 AT aol DOT net> <3F29C4F1 DOT 8010805 AT cygwin DOT com>
In-Reply-To: <3F29C4F1.8010805@cygwin.com>

Larry Hall wrote:

> 1. SYSTEM is the account that sshd runs as, not administrator.

Hmm, perhaps it's just a coincidence then that Administrator permissions 
correspond with sshd permissions.

> 2. Only the owner of the private key files in .ssh should have 
> permissions
>    to access these files.  Public key files should be readable by anyone.
>    You'll want to check the permissions on these files relative to the
>    above.

We got things working by opening up public access to 
/home/some-user/.ssh/authorized_keys, and perhaps that's sufficient, 
although I'm still concerned about the difference in behavior across my 
two installations.  I have limited experience with cygwin (or Windows in 
general), but on Linux in my experience sshd turns up its nose at 
non-private .ssh directories, or else I would have tried that sooner.

$CYGWIN is set to "binmode ntsec tty", so that shouldn't be the problem. 

> 3. Generally, you should read <http://cygwin.com/problems.html>.

I've been through the FAQ and User's Guide but couldn't find an answer 
to my question.  Perhaps I should read both straight through for a more 
rounded understanding of what's going on; I was just hoping someone had 
experienced this before and knew the magic incantation to correct it. :-)

-myk



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