Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: Wrong PATH and other env after starting bash Date: Fri, 22 Apr 2005 14:17:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <200504221123.j3MBNGD30759@lastovo.hermes.si> Message-ID: X-OriginalArrivalTime: 22 Apr 2005 13:18:54.0504 (UTC) FILETIME=[D52D9A80:01C5473D] ----Original Message---- >From: david.balazic >Sent: 22 April 2005 12:23 > I installed cygwin yesterday. (on winXPpro-SP2) > I start bash from the start menu enty. > I noticed : > - missing /etc/passwd (fixe by reinstallin the base-passwd package > with setup.exe) > - $PATH is missing /usr/bin > - pwd is not set to $HOME > - missing /etc/profile (or other startup scripts, this is the output of > ls -l /etc : total 21 > drwxrwx---+ 4 stein mkgroup_l_d 0 Apr 19 16:55 defaults > -rwxr-x---+ 1 stein mkgroup_l_d 459 Apr 22 11:55 group > -rwxr-x---+ 1 stein mkgroup_l_d 1198 Apr 22 11:55 passwd > drwxrwx---+ 2 stein mkgroup_l_d 0 Apr 22 11:56 postinstall > drwxrwx---+ 2 stein mkgroup_l_d 0 Apr 22 11:10 preremove > drwxrwx---+ 2 stein mkgroup_l_d 0 Apr 22 11:55 setup > drwxrwx---+ 2 stein mkgroup_l_d 0 Apr 19 16:55 skel > -rwxr-x---+ 1 stein mkgroup_l_d 13717 Apr 21 22:37 termcap You must have missed the message when you started the shell telling you to run mkpasswd and mkgroup. Until you do that, cygwin has no idea about different user ids and therefore doesn't know about home directories and startup scripts either. > During install I deselected a few packages, to keep the install at > minimum size. Packages like documentation, rarely used libs etc... Maybe > I deselected something important. Yes, you probably did. Like base-passwd, for example. When you select things in setup, it automatically adds the dependent packages they require. If you select some things, you get the depedencies auto-added, then if you start deselecting things you can disable those dependencies and end up with an incomplete installation. 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/