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 To: cygwin AT cygwin DOT com From: David =?utf-8?b?QmFsYcW+aWM=?= Subject: Re: Wrong PATH and other env after starting bash Date: Mon, 25 Apr 2005 07:56:27 +0000 (UTC) Lines: 63 Message-ID: References: <200504221512 DOT j3MFCJw31354 AT lastovo DOT hermes DOT si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 213.253.102.145 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3) X-IsSubscribed: yes Dave Korn artimi.com> writes: > > ----Original Message---- > >From: david.balazic > >Sent: 22 April 2005 16:12 > > 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. Yes, I am in a windows domain. (But my UID is correctly recognised : the id command returns uid=11135(stein) gid=10545(mkgroup_l_d); the group seems wrong thou) ... > > 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. You missed my "I have years of unix experience" line ? ;-) The only files in /etc/skel are "." and ".." . You also said in another mail : > 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. Should I still do that ? Or "Reinstall" "all" first ? Also nothe the weird things reported by cygcheck. Here is an brief excerpt : bash-2.05b$ mount C:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts on /mnt/NX/fonts type user (textmode) C:\Documents and Settings\stein\.nx\tmp on /tmp type user (textmode) C:\Program Files\NX Client for Windows on /usr/NX type user (textmode) ...rest is normal... I have the NX client for windows installed (before I installed cygwin). It seems there is some interference ? About the full cygcheck output : I am posting at gmane.org and it does not seem to support attachments. Subsribing would be also pointless, since every mail I send is refused due to the "MS OutLook is too stupid to send plain text" problem. Regards, David -- 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/