This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong PATH and other env after starting bash

Dave Korn <dave.korn <at>> 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) 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 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.


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]