delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding | |
:in-reply-to; q=dns; s=default; b=Gf5KAPpftr5jtM/U4p50Moc6jj8EBP | |
p8S18LphTrIEss+40uMMtJgZgYWvUXsUveNDa5cGN9uOu8k5QvpHnhVG9uOevhIB | |
otsg3RrvWTRp/LmPzK5dbsuxRcUlC9OqErRFTCjyw/Xn339dx87tjmAMeLLcD9oI | |
P6WfK7dnhaoMk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding | |
:in-reply-to; s=default; bh=1oGFU2wG35fDZZJJPhQpwGGQy8A=; b=FrT5 | |
jywgDxndk397mDEgqJT81pNNN3Tgb27AY3tIJM3FCU+wo25ciRBk0uNOi/CV8QEi | |
YB52dXAVbqge6gmhtzT4D/UId0HG1UMVMb2hVtvXY/s1tbYKds0wZps8739OMFB2 | |
E6CNGdwuJD0dvTl7MEMNP1dXbBkD0U9uxsOf+E8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | plane.gmane.org |
To: | cygwin AT cygwin DOT com |
From: | Daniel <daniel AT boland DOT nl> |
Subject: | Re: Non-privileged use can't logon |
Date: | Wed, 11 Mar 2015 19:44:38 +0100 |
Lines: | 56 |
Message-ID: | <mdq2kl$ske$1@ger.gmane.org> |
References: | <003601d05be4$d2574470$7705cd50$@rockliff AT bigpond DOT com> <20150311111729 DOT GW5732 AT calimero DOT vinschen DOT de> <004e01d05bf1$2897d730$79c78590$@rockliff AT bigpond DOT com> <20150311120705 DOT GX5732 AT calimero DOT vinschen DOT de> <3290.69729564271$1426077647 AT news DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.14 (Windows/20071210) |
In-Reply-To: | <3290.69729564271$1426077647@news.gmane.org> |
X-IsSubscribed: | yes |
Hi Max, Max Rockliff wrote: > Hey Corinna, > > You're a magician. It seems to have fixed the problem, or at least provided an effective workaround. Here's a transcript (kinda) > > 1. Downloaded the new cygwin1-20150311.dll.xz (PS. Kudos for using a yyyymmdd format in the name - I always do, but so many don't > 2. Copied the xz file to my privileged user account home folder and Unxz'ed it. > 3. Used Windows to copy the file cygwin1-20150311.dll to the C:\cygwin\bin folder > 4. Stopped the SSHD service > 5. Renamed the old cygwin1.dll to cygwin1.dll.old > 6. Renamed cygwin1-20150311.dll to cygwin1.dll > 7. Started the SSHD service > 8. Started the terminal > 9. Executed ssh st AT localhost and it logged on successfully no errors. > Max AT Max-PC /bin > $ ssh st AT localhost > st AT localhost's password: > Last login: Wed Mar 11 20:32:00 2015 from ::1 > > st AT Max-PC ~ > $ > 10. And, as we like to say in Australia - Sweet! > I noticed that you are initially logged on as a user, named "Max" on a host, named "Max-PC". I teach kids Linux using Cygwin and many of them, being gamers, name their computers after themselves, so they can be recognized on a network. Having seen this over and over on their laptops, I can now say with 100% certainty that this causes the "/" and "/etc" folders to be installed with group-writable permissions. Normally I wouldn't bother, but I make them compile Sendmail as part of a series of lessons. Sendmail doesn't like group-writable folders and refuses to send mail. This problem occurs on Win7, Win8, and Win8.1 with the following username/hostname combinations: "Jony AT Jony", "Kjell AT Kjell-PC". The way we solve this is: chgrp Users / /etc chmod g-w / /etc Chmod alone doesn't work. We first have to change the group owner of the folders for chmod to be effective. Maybe this phenomenon is unrelated to your sshd problem, but when I saw your user/host combination I felt the need to share this with you and the group. Cheers, Daniel -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |