delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Thu, 22 Nov 2001 09:53:57 +0100 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | Re: 1.3.5 openssh strictmodes |
Message-ID: | <20011122095357.D27931@cygbert.vinschen.de> |
Mail-Followup-To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
References: | <7867A43ABE52194C9F2C6E5C15E9C2FA2FC14E AT backoff DOT isecure DOT com DOT au> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <7867A43ABE52194C9F2C6E5C15E9C2FA2FC14E@backoff.isecure.com.au>; from Peter@isecure.com.au on Thu, Nov 22, 2001 at 01:12:43PM +1100 |
On Thu, Nov 22, 2001 at 01:12:43PM +1100, Sundstrom, Peter wrote: > I start sshd as Administrator. In sshd_config, I have > > StrictModes yes > > All of the relevant files and directories are owned by Administrator and > have minimal permissions, ie: > > Administrator AT SCANNER$ ls -ld home etc > dr-x------ 2 Administ None 4096 Nov 22 12:10 etc > [...] > Starting sshd in debug mode and then trying to connect to the server, tells > me: > > debug1: trying public key file /home/Administrator/.ssh/authorized_keys2 > Authentication refused: bad ownership or modes for file > /cygdrive/c/cygwin/home/Administrator/.ssh/authorized_keys2 > > How can this be the case? Calling `ls -ln' would show you the following: dr-x------ 2 544 513 4096 Nov 22 12:10 etc 544 is the id of the group Administrators, not the user Administrator which has id 500. chown helps. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |