[1.7] login ignores /etc/passwd in first invokation
Wolfgang Goetz
Wolfgang.ztoeG@web.de
Wed Jul 22 08:21:00 GMT 2009
Corinna Vinschen wrote:
> On Jul 20 23:54, Wolfgang Goetz wrote:
>> first shell: wrong ids, wrong homedirectory
>> all other shells (don't close the first): all OK.
>
> I can't reproduce this problem.
that would have been too easy...
> Per your cygcheck output the USERDOMAIN is AD1, but the passwd
> entry shows U-EMEA\wg. How does that happen?
my company has at least two (big) windos infrastructures.
migration into only one is ongoing. But don't ask details,
I'm only a user.
snippet from 'net config workstation':
...
Workstation domain EMEA
...
Logon domain AD1
> Are you sure /etc/passwd is really correct?
made with mkpasswd -l -d, homepath changed for my account.
> What do you mean by "HOSTNAME missing"? The environment variable?
the first cygcheck output doesn't show the HOSTNAME environment.
> So your hostname is the same as the username? Hmm.
ojeh, not really...
i substituted some names in order not to expose my companies internals.
maybe too much of paranoia. and too sloppy not to have different names.
[...same user/hostname test...] (sorry for that, really)
> I have no idea why this happens for you. Some debugging will be necessary.
> Starting the first bash from strace might give a clue.
BTDT, attached.
and believe me ... there is no /etc/passwd with 9 lines ;)
greets
Wolfgang
P.S.: is it a problem to symlink
"/cygdrive/d/Documents and Settings" to '/cygdrive/d/home'?
the second shell is working well. so does the 1.5 setup (for years).
pro: .ssh/ and Desktop/ are the same as on linux/solaris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: b17-first.strace
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090722/d9b01ee9/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: b17-sec.strace
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090722/d9b01ee9/attachment-0001.ksh>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list