delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/02/01:14:24

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Xanana Gusmao" <legolas_sindarin AT yahoo DOT com>
Subject: Re: Doesn't chdir to /home/foo when cygwin shell is started
Date: Wed, 2 Jul 2003 13:12:39 +0800
Lines: 48
Message-ID: <bdtpm5$71i$1@main.gmane.org>
References: <bdogne$f1g$1 AT main DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 44 DOT 0307012219490 DOT 17919-100000 AT slinky DOT cs DOT nyu DOT edu>
X-Complaints-To: usenet AT main DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Igor,

> At a guess, your /etc/passwd does not contain the user you log in as
("foo" in your example),

Wrong. foo has an entry in the passwd file.

$ mkpass -l
----snip---
bonga:unused_by_nt/2000/xp:1002:513:Xanana
Gusmao,neptune\foo,S-1-5-21-2000478354
-839522115-842925246-1002:/home/foo:/bin/bash

$ cygcheck -svr
---snip for brevity---
HOME = `c:\'
MAKE_MODE = `unix'
PWD = `/'
USER = `foo'

Cygwin DLL version info:
    DLL version: 1.3.22
    DLL epoch: 19
    DLL bad signal mask: 19005
    DLL old termios: 5
    DLL malloc env: 28
    API major: 0
    API minor: 78
    Shared data: 3
    DLL identifier: cygwin1
    Mount registry: 2
    Cygnus registry name: Cygnus Solutions
    Cygwin registry name: Cygwin
    Program options name: Program Options
    Cygwin mount registry name: mounts v2
    Cygdrive flags: cygdrive flags
    Cygdrive prefix: cygdrive prefix
    Cygdrive default prefix:
    Build date: Tue Mar 18 09:20:11 EST 2003
    CVS tag: dontuse-21
    Shared id: cygwin1S3


Thanks

Xanana




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