Cygwin 1.7 domains and home directories
Tue Dec 16 12:10:00 GMT 2008
On Dec 12 15:41, Corinna Vinschen wrote:
> On Dec 12 10:20, John Morrison wrote:
> > On Thu, December 11, 2008 5:42 pm, Andrew Schulman wrote:
> > >> Now, *sometimes* when I
> > >> start cygwin (via the standard batch file) I get ~ to be my
> > >> "c:\Documents
> > >> and Settings\[user]\" and othertimes it all works and ~ is /home/morrijr
> > >> which is mounted to "d:\Wrkfile". I've not be able to workout when or
> > >> why.
> > >>
> > >> When it doesn't honor the path in my passwd file it also comes up with
> > >> the
> > >>
> > >> "Your group is currently "mkpasswd". This indicates that
> > >> the /etc/passwd (and possibly /etc/group) files should be rebuilt.
> > >> See the man pages for mkpasswd and mkgroup then, for example, run
> > >> mkpasswd -l [-d] > /etc/passwd
> > >> mkgroup -l [-d] > /etc/group
> > >> Note that the -d switch is necessary for domain users."
> > >>
> > >> message.
> > > [...]
> > > Here's what I've been able to figure out about it:
> > >
> > > The error happens the first time I open a Cygwin 1.7 console after each
> > > reboot.
> > > On the 2nd and subsequent times after a reboot, bash starts without error
> > > and finds my correct $HOME. I can log out and log back in, and the next
> > > console will open without error. Reboot, start a console, and I get the
> > > error again.
> > > [...]
> I don't think that has to do with the size of the /etc/passwd and
> /etc/group files. Not sure if I can work on that before the christmas
> break, though...
So far I'm not able to reproduce this. Every time I reboot, the shell
comes up just fine.
For testing purposes I created an /etc/group file of >28000 entries.
I also switched my home directory by adding a fstab entry along the lines
of "D:/home/corinna --> /home/corinna", but to no avail.
I tested this on a Vista machine which is domain member of a 2K8 domain
with a domain admin account with UAC enabled.
I'll try later again on an XP machine.
Is your account an admin account or a normal user account? I don't
know but maybe that makes some difference.
Maybe that goes without saying, but somebody actually debugging this
who can reproduce this behaviour would be a great help...
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin