delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/25/04:16:22

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
To: cygwin AT cygwin DOT com
From: David =?utf-8?b?QmFsYcW+aWM=?= <david DOT balazic AT hermes DOT si>
Subject: Re: Wrong PATH and other env after starting bash
Date: Mon, 25 Apr 2005 07:56:27 +0000 (UTC)
Lines: 63
Message-ID: <loom.20050425T094941-177@post.gmane.org>
References: <200504221512 DOT j3MFCJw31354 AT lastovo DOT hermes DOT si> <SERRANOg3Lch8cwNIEN000000e4 AT SERRANO DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
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 <dave.korn <at> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019