From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25163 invoked by alias); 5 Dec 2001 20:04:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 24992 invoked from network); 5 Dec 2001 20:03:17 -0000 Received: from unknown (HELO arkroyal.cnchost.com) (207.155.252.5) by sources.redhat.com with SMTP; 5 Dec 2001 20:03:17 -0000 Received: (root@localhost) by arkroyal.cnchost.com id PAA06299; Wed, 5 Dec 2001 15:03:16 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <200112052003.PAA06299@arkroyal.cnchost.com> Errors-To: From: Dave Pinsker To: cygwin@cygwin.com Subject: Re: Illegal User Error Attempting to Authenticate in sshd Date: Wed, 05 Dec 2001 12:06:00 -0000 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: inline X-SW-Source: 2001-12/txt/msg00262.txt.bz2 Thanks for your quick response, Corinna. > A good way to debug problems in sshd when started as service is, > Use `-d' instead of `-D' as argument. I am using sshd's '-d' switch to dump the output quoted in my last message (please see last thread). > Another very important point is, check the permissions of the > /etc directory and the permissions of /etc/passwd, /etc/group > and /etc/ssh* overcarefully. After an installation with setup, > the permissions are sometimes so that SYSTEM doesn't have > appropriate permissions on /etc or subsequent files as soon as > `ntsec' is used. It's not necessary for SYSTEM to have write > access but read access should be given. So try > > chmod 755 /etc > chmod 644 /etc/passwd /etc/group These perms are already correct, but attempting to chmod anything does not modify permissions. The command does not produce an error (and $? is 0), but no changes are made on the files. chown also fails in the same manner. All files are owned by whomever is logged in at the time (tried: Dave Pinsker and SYSTEM). I had attributed this to the fact that I'm running FAT32, vs. NTFS, and hence, do not have the extended set of permissions available -- logical? I realize most implementations are probably on NTFS, but should there be any issues running on FAT32? Thanks, _Dave_ davep@interaccess.com -- 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/