X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <32877431.post@talk.nabble.com> Date: Sun, 27 Nov 2011 06:43:19 -0800 (PST) From: gabier <gab DOT net110 AT orange DOT fr> To: cygwin AT cygwin DOT com Subject: Re: Installation problems with home path and sshd In-Reply-To: <32877389.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <32877343 DOT post AT talk DOT nabble DOT com> <32877389 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: <cygwin.cygwin.com> 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 Marc Girod wrote: > > Others may answer better than me, but... I think there are two sources for > the definition of home: > the HOME environment variable, and the entry in /etc/passwd. > I have myself: > ~> id > uid=1000(marc) gid=513(None) groups=513(None),545(Users) > ~> grep marc /etc/passwd > marc:unused:1000:513:U-sartre\marc,S-1-5-21-1848142070-2449128644-2827604881-1000:/home/marc:/bin/bash > ~> echo $HOME > /home/marc > Marc > Quite interesting. My id command gives ("Josette" is the name of the user and "PC-de-Josette" is the name of the computer) Josette unused 1000 513 U-PC-de-Josette\Josette,S-1-5-21-81082327-430422718-1981534784-1000 /home/Josette /bin/bash and the echo $Home command gives "/home/Josette" So it seems quite correct. It does not explain why the mintty console does not open in the home directory, but it seems to prove that it is only a console problem. As you can see, the user name is in the computer name, so the grep command was not effective and I got all users listed. I noticed the following entry. " sshd unused 1002 513 sshd privsep,U-PC-de-Josette\sshd,S-1-5-21-81082327-430422718-1981534784-1002 /var/empty /bin/false " Does it seem also correct ? If not it could explain my sshd problems ? :) Gabier -- View this message in context: http://old.nabble.com/Installation-problems-with-home-path-and-sshd-tp32877343p32877431.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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