Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: David =?utf-8?b?QmFsYcW+aWM=?= <david.balazic@hermes.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.j3MFCJw31354@lastovo.hermes.si> <SERRANOg3Lch8cwNIEN000000e4@SERRANO.CAM.ARTIMI.COM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@sea.gmane.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/

