| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Ludovic Drolez <ldrolez AT linbox DOT com> |
| Subject: | Re: Domain change: permission denied in sshd |
| Date: | Wed, 23 Nov 2005 11:39:44 +0100 |
| Lines: | 30 |
| Message-ID: | <dm1gtg$vfr$1@sea.gmane.org> |
| References: | <4382EBEA DOT 2070004 AT linbox DOT com> <4383C2C7 DOT 8000604 AT cygwin DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 |
| In-Reply-To: | <4383C2C7.8000604@cygwin.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| 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 |
Larry Hall (Cygwin) wrote: > 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. > Since the SID change is done with Sysprep, we have now a script which updates /etc/passwd during sysprep. Just updating with the new SID works ! Cheers, -- Ludovic DROLEZ Linbox / Free&ALter Soft http://lrs.linbox.org -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |