[1.7] login ignores /etc/passwd in first invokation
Wolfgang Goetz
Wolfgang.ztoeG@web.de
Tue Jul 21 09:39:00 GMT 2009
Hi,
first shell: wrong ids, wrong homedirectory
all other shells (don't close the first): all OK.
steps to reproduce for 1.7:
1) have valid /etc/passwd for a non-standard homedirectory
using mkgroup/mkpasswd -l -d ...
wg:unused:129529:10513:Goetz
Wolfgang,U-EMEA\wg,S-1-5-21-2053067395-845162621-1245804459-119529:/cygdrive/d/home/wg:/bin/bash
2) no cygwin processes running.
3) start a shell.
(profiles's mkpasswd-warning appears)
uid=400(wg) gid=401(mkpasswd) Gruppen=544(Administrators),547(Power
Users),545(Users),204562(groupa),401(mkpasswd)
but cygcheck -srv is reporting the correct ids.
/etc/passwd (new homedirectory) is ignored
HOSTNAME missing.
4) start an additional shell (or even more...)
uid=129529(wg) gid=10513(Domain Users)
Gruppen=544(Administrators),547(Power Users),545(Users),204562(groupa)
all OK.
reproducible: always, connected to AD domain or standalone.
cygcheck -srv for first shell invokation is attached.
here the diff valid for all further shells:
diff cygcheck-17-first-srv.log cygcheck-17-srv.log
3c3
< Current System Time: Mon Jul 20 16:54:24 2009
---
> Current System Time: Mon Jul 20 16:54:47 2009
38,39c38,39
< PWD = '/home/wg'
< HOME = '/home/wg'
---
> PWD = '/cygdrive/d/home/wg'
> HOME = '/cygdrive/d/home/wg'
43a44
> HOSTNAME = 'wg'
68c69
< PS1 = '$ '
---
> PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
kind regards
Wolfgang
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck-17-first-srv.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090721/a6e8abb7/attachment.log>
-------------- 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