delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/02/14:08:44

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
Message-ID: <7B2A7784F4B7F0409947481F3F3FEF830A74482F@eammlex037.lmc.ericsson.se>
From: "Hans Deragon (LMC)" <qhander AT ericsson DOT ca>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: New setup: User not found? /cygdrive/h as default home director
y?
Date: Mon, 2 Jun 2003 14:07:11 -0400
MIME-Version: 1.0

Greetings.


  Long time user of cygwin.  Got a new job and off course, first thing I do is install it.  However, I am encounting a problem I never had in previous installations.  The installation was successfull, but when I started a command line window (cygwin.bat), I got the following:

id: cannot find name for user ID 18544
mkdir: cannot create directory `/cygdrive/h': No such file or directory
cp: cannot create regular file `/cygdrive/h//.bash_profile': No such file or dir
ectory
bash: cd: /cygdrive/h: No such file or directory

  There are two problems here.  First, cygwin cannot find the name of my user.  Is this because my Window account is not set properly?  I suspect this, but I have not administrator power on my machine and I am not a Windows guru.  This is a problem because when I use ssh it tells me to go away because I have no name.  Is there an environment variable I can set to trick ssh to working?

  The second problem is the attempt to create the /cygdrive/h .  In the /etc/passwd file, by default the /cygdrive/h directory was listed there as the home directory for my user.  I do not understand why because drive h does not exist on my system, and even if it did, I would not have wanted my account to be created there.  Nowhere in the installation process was I asked for the default home directory.  I fixed this by editing the /etc/passwd and changed the home directory to /home, which I believe should be the default and was in the past.  This is not a problem for me anymore, but I am reporting it because I find this /cygdrive/h default a bit odd.

  BTW, I searched the mailing list archive, but could not find anything related to these problems.  If this was discussed previously, I am sorry for the repeat; my search keywords where probably poorly choosen.


Thanks,
Hans Deragon

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