delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/09/07:23:34

X-Spam-Check-By: sourceware.org
Message-ID: <43C2560B.1040803@juno.nrl.navy.mil>
Date: Mon, 09 Jan 2006 07:24:43 -0500
From: Ken Senior <senior AT juno DOT nrl DOT navy DOT mil>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd must be restarted
References: <twig DOT 1136549779 DOT 12934 AT juno DOT nrl DOT navy DOT mil>, <twig DOT 1136549779 DOT 12934 AT juno DOT nrl DOT navy DOT mil> <twig DOT 1136551175 DOT 88213 AT juno DOT nrl DOT navy DOT mil> <43C02341 DOT 1040002 AT cygwin DOT com>
In-Reply-To: <43C02341.1040002@cygwin.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

As I mentioned before, I have *two* entries in /etc/passwd, one corresponding to my "senior" account on the local system and one corresponding to the domain account.   

I've had some really strange behavior as a result.  I was able to rsync from the windows box to itself only to discover that the the files that managed to copy were not readable by the login that issued the rsync.  

senior:unused_by_nt/2000/xp:1003:513:U-ROMULUS\senior,S-1-5-21-484763869-1563985344-682003330-1003:/home/senior:/bin/bash
senior:unused_by_nt/2000/xp:11112:10545:senior,U-SPACEAPPS\senior,S-1-5-21-893714851-1888236101-3871409848-1112:/cygdrive/c/Documents 
and Settings/senior.SPACEAPPS.000:/bin/bash

Larry Hall (Cygwin) wrote:

> Ken Senior wrote:
>
> <snip>
>
>> Some packages (SSH) think the home page should be /home/senior 
>> whereas the
>> default bash shell thinks it's located in /cygdrive/c/Documents and
>> Settings/senior.DOMAIN. 
>
>
>
> This is not surprising.  You set HOME in your environment to point to
> '/cygdrive/c/Documents and Settings/senior.DOMAIN'.  That's the path you
> will see as your home if you log in locally.  ssh finds your path in
> '/etc/passwd' and I'm sure you'll find it listed there as '/home/senior'.
> Change this with an editor or see the options to 'mkpasswd'.  Or remove/
> rename the environment variable.  It's probably easiest to remove the
> variable, since everything will then look to '/etc/passwd'
>
>


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

- Raw text -


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