delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/22/12:07:06

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
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Wrong PATH and other env after starting bash
Date: Fri, 22 Apr 2005 17:06:45 +0100
MIME-Version: 1.0
In-Reply-To: <200504221512.j3MFCJw31354@lastovo.hermes.si>
Message-ID: <SERRANOg3Lch8cwNIEN000000e4@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 22 Apr 2005 16:07:08.0925 (UTC) FILETIME=[55EC02D0:01C54755]

----Original Message----
>From: david.balazic
>Sent: 22 April 2005 16:12

> Dave Korn wrote :
> 
>>> Maybe I deselected something important.
> 
>>  Yes, you probably did.  Like base-passwd, for example.
> 
> No I did not. As I already said, base-passwd was installed. At
> least setup.exe claimed that, when I run it the second time.
> 
> Besides, now I reinstalled base-passwd and have a good /etc/passwd

  No, you don't.  If all your files are listed as having group ownership
"mkgroup_l_d", that means that the /etc/group file is bad.  Since
base-passwd creates that as well, it means /etc/passwd is probably no good
either.

  Are you in a windows domain?  The default setup only creates local machine
accounts in /etc/passwd and /etc/group.  If you're logged in as a network
user it won't know who you are.  That could be the problem.
 
> The question is : How do I get an /etc/profile file ?

  It's created by the first run, from /etc/defaults/etc/profile, part of the
base-files package.  If this hasn't run, something went very wrong with your
install.  Your best bet at this stage would be to re-run setup.exe, and just
click all the way through to the package selection; choose "Reinstall" next
to the "All" category, don't click anything else, and let it go.  That
should fix you up with a consistent set of packages.

  If that still doesn't work, you're going to need to get your cygcheck
output and post it **as an attachment** to the list; see
http://cygwin.com/problems.html

> Also note, that /etc/skel is empty.

  AYS?  All the files in /etc/skel begin with a full stop.  If you dont use
the -a option to ls, you won't see them.

> PS: Message is not properly linked to the previous in the thread,
> as I am not subscribed and read from the archive at :
> http://cygwin.com/ml/cygwin/ , which does not have a REPLY button.

  You could try the newsreader-based interface at gmane.org.  Or subscribe.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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