delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/22/20:16:14

X-Spam-Check-By: sourceware.org
Message-ID: <4383C2C7.8000604@cygwin.com>
Date: Tue, 22 Nov 2005 20:15:51 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: Ludovic Drolez <ldrolez AT linbox DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Domain change: permission denied in sshd
References: <4382EBEA DOT 2070004 AT linbox DOT com>
In-Reply-To: <4382EBEA.2070004@linbox.com>
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

Ludovic Drolez wrote:
> Hi !
> 
> We use opensshd to remote admin windows systems. But If the SID is 
> changed we have the following problems:
> - I can log in but we can see 'Could not chdir to home directory 
> /home/Administrateur: Permission denied'. And key based auth works even 
> if the home directory is not readable (?!)
> - There's no way to update /etc/passwd via ssh to update the SID: 
> Permission denied
> - So the only way seems to manually update the file from Windows :-(


Right.  If the SID that owned the file no longer exists, that's a Windows
thing and the most efficient way to deal with it is from Windows.  Just
take ownership of the directory tree.


> Is there another way ? If I disable 'ntsec', would it help ?


Perhaps, but that's just delaying the inevitable.  Fix the Windows problem.


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