delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/17/05:07:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 17 May 2002 11:05:29 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <186598231721.20020517110529@familiehaase.de>
To: "Harig, Mark A." <maharig AT idirect DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: SSHD under SYSTEM account: r e s o l v e d :-)
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E40EFF8@ex02.idirect.net>
References: <BADF3C947A1BD54FBA75C70C241B0B9E40EFF8 AT ex02 DOT idirect DOT net>
MIME-Version: 1.0

Mark schrieb:

> I've been working on a script to help make this easier, but I've been
> stalled.  This problem keeps coming up again and again.  We need
> something that diagnoses the problem better (incrementally finding each
> problem, for example, the file and directory permissions).  ssh provides
> little or no help in diagnosing the problem when it won't connect.

This is true.

There was one hint that was really golden: if you are in a domain and
want to connect just over LAN another box in the same domain, the passwd
and group files should be exact indentical since it is the same domain.
So at first make sure that the passwd files are identical.  Then look
that the permissions are correct all over, /home/you and /etc directory.

At last one point which needs to be investigated, if I'm in the passwd
file as gerrit with uid 11002 and gid 10512 is it needed that the files
in the /home/gerrit directory and subdirectories are owned be me and my
group?

I changed the ownership but I think at first it was a mess with my
passwd and group files.

OpenSSH setup just uses your current settings, so if the passwd & group
files are wrong, the ownership of the files will be wrong.

Ah, and I'm sitting on a PDC and in a domain so I'm using only
mkpasswd -d and mkgroup -d now since we have no local users besides
the default.


Many Thanks again for all the help,

Gerrit
-- 
=^..^=


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019