delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/24/11:55:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <421E06F6.4010306@unipex.it>
Date: Thu, 24 Feb 2005 17:55:18 +0100
From: Michele Petrazzo <michele DOT petrazzo AT unipex DOT it>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd and authorized_keys
References: <421DEAF3 DOT 8070807 AT unipex DOT it> <Pine DOT GSO DOT 4 DOT 61 DOT 0502241046430 DOT 8085 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.61.0502241046430.8085@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:
>>debug1: trying public key file /ssh/keys/authorized_keys
>>Authentication refused: bad ownership or modes for directory /
>>
>>I don't want to modify ownership of / !
>>
>>Is there a method to tell to sshd to don't make control of
>>ownership?
>>Or, is there a method for make my idea work?
> 
> 
> Sure.  Move the "ssh" directory one level down, and set the permissions on
> the containing directory appropriately.  E.g.,
> 
> mkdir /private && chmod 755 /private && mv /ssh /private
> 

Why make this? What change if I put ssh into private?

> However, I don't see why you're so resistant with making "/" non-writeable
> for anyone that's not your user...  Since you're the only user on the
> machine, the only other concievable users that would be affected are
> internal Windows users, like "LocalSystem" (a.k.a. SYSTEM), and I can see
> no reason in allowing them to write to "/" (you can always make
> subdirectories of root writeable).

I did't think this!
With only a simple chown Administrator.Administrators / all work ok!

> 	Igor

Thanks,
Michele

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