Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'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'" References: <7867A43ABE52194C9F2C6E5C15E9C2FA2FC14E AT backoff DOT isecure DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/