delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/12/08:53:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <27B37EE93C4ED611AB530002B39D72BC07328C92@pa62m02.iac.honeywell.com>
From: "Steinman, Jethro F (PA62)" <jethro DOT f DOT steinman AT honeywell DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: cygwin and mkpasswd unable to recognize a domain user
Date: Wed, 12 Jan 2005 06:53:25 -0700
MIME-Version: 1.0

Greetings,

I just installed cygwin and I'm having some problems using it. I have it
installed on a WINXP 2002 SP1 laptop. I'm using a domain log-in. I ran
"cycgcheck -s" to record information on the nature of my set up. The output
is attached at the bottom of this message. 

The problem I'm having is that when I start bash I get the following
message.

"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."

A related symptom is that doing "pwd" shows my home directory to be as
follows

/cygdrive/c/Documents and Settings/<my user name>

When I do what the error message instructs (run mkpasswd and mkgroup) the
problem is not corrected. But if I log out and log back in, not as a domain
user but with my local administrator account, then the problem goes away.
Also, the starting directory is then where I expect it to be under
C:/cygwin/home.

Looking at the output from "mkpasswd -l -d" I see that my domain user name
does not appear, despite the fact that the computer and the domain recognize
my user id. just fine and are happy to let me do whatever I want. It almost
seems as though my log-in domain is set up in such a fashion that mkpasswd
can not recognize a class of users of which I am a member.  Everything else
probably stems from that.

It seems quite possible that there are things about our domain set up which
cygwin and mkpasswd can't understand.  I know that my user id. is registered
in a global corporate domain. More than that I can't explain as I lack the
requisite education.

I searched the archive and found the following 2 threads which discuss
similar problems but do not point directly to a solution. 

http://sources.redhat.com/ml/cygwin/2004-09/msg00338.html
http://sources.redhat.com/ml/cygwin/2004-08/msg00089.html

Am I doing something wrong?
Does this seem like a cygwin bug?
Can anyone recommend a work-around?

Regards,

Jed


============== cygcheck output:
===============================================================

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\ORACLE\ORA81\BIN
c:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN
c:\PERL\BIN\
c:\WINDOWS\SYSTEM32
c:\WINDOWS
c:\WINDOWS\SYSTEM32\WBEM
c:\PROGRAM FILES\ATI TECHNOLOGIES\ATI CONTROL PANEL
c:\FULCRUM\BIN
c:\PROGRAM FILES\COMMON FILES\ADAPTEC SHARED\SYSTEM
c:\ATRIA\BIN
c:\PROGRAM FILES\EXECUTIVE SOFTWARE\DISKEEPER\
c:\PROGRAM FILES\MICROSOFT SQL SERVER\80\TOOLS\BINN
c:\PROGRAM FILES\HONEYWELL\EXPERION PKS\ENGINEERING TOOLS\SYSTEM\BIN
b:\
c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
c:\program files\microsoft visual studio\common\tools
h:\utl
c:\CC3_LL\IlDeCompiler
c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(E712418) GID: 401(mkpasswd)
401(mkpasswd)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 400(E712418) GID: 401(mkpasswd)
544(Administrators) 545(Users) 401(mkpasswd)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `c:\Documents and Settings\E712418'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Documents and Settings/E712418'
USER = `E712418'

Use `-r' to scan registry

b: net NTFS 349382Mb 87% CP CS UN PA FC Data Volume 1
c: hd NTFS 38075Mb 56% CP CS UN PA FC SYSTEM
d: cd N/A N/A 
g: net NTFS 489135Mb 23% CP CS UN PA FC DATA
h: net NTFS 349382Mb 87% CP CS UN PA FC Data Volume 1
i: net NTFS 349382Mb 87% CP CS UN PA FC Data Volume 1
m: net MVFS 1000Mb 50% CP CS CCase
n: net NTFS 349382Mb 87% CP CS UN PA FC Data Volume 1
s: net NTFS 349381Mb 85% CP CS UN PA FC Data1
t: net MVFS 1000Mb 50% CP CS CCase
y: net MVFS 1000Mb 50% CP CS CCase

C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Not Found: find
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Not Found: grep
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Not Found: sed
Found: C:\cygwin\bin\sh.exe
Not Found: tar

55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll
18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll
1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll
174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll
40k 2004/10/10 C:\cygwin\bin\cygform-8.dll
48k 2003/08/09 C:\cygwin\bin\cygform7.dll
28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll
15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll
991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll
37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll
54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll
22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll
29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll
74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll
216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll
224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll
13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll
19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll
62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll
9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll
1061k 2004/08/19 C:\cygwin\bin\cygperl5_8_5.dll
1114k 2004/11/10 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.12
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 116
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix: 
Build date: Wed Nov 10 08:34:47 EST 2004
Shared id: cygwin1S4


Cygwin Package Information
Package Version
_update-info-dir 00231-1
ash 20040127-1
autoconf 2.59-1
autoconf-devel 2.59-1
autoconf-stable 2.13-5
automake 1.7.9-1
automake-devel 1.9.2-1
automake-stable 1.4p6-2
base-files 3.1-4
base-passwd 2.1-1
bash 2.05b-16
binutils 20041229-1
bison 20030307-1
byacc 1.9-1
bzip2 1.0.2-6
coreutils 5.2.1-5
crypt 1.1-1
cygwin 1.5.12-1
ELFIO 1.0.0-1
expat 1.95.8-1
flex 2.5.4a-3
gawk 3.1.4-3
gcc 3.3.3-3
gcc-core 3.3.3-3
gcc-g++ 3.3.3-3
gcc-mingw 20040810-1
gcc-mingw-core 20040810-1
gcc-mingw-g++ 20040810-1
gcc-testsuite 3.3.3-3
gdb 20041228-1
groff 1.18.1-2
gzip 1.3.5-1
less 381-1
libbz2_1 1.0.2-6
libcharset1 1.9.2-1
libdb4.2 4.2.52-1
libgdbm3 1.8.3-3
libiconv 1.9.2-1
libiconv2 1.9.2-1
libintl2 0.12.1-3
libintl3 0.14.1-1
libncurses7 5.3-4
libncurses8 5.4-1
libpcre0 4.5-1
m4 1.4.2-1
make 3.80-1
man 1.5o1-1
mingw-runtime 3.6-1
mktemp 1.5-3
perl 5.8.5-3
perl-libwin32 0.191-1
setup 2.427-1
tcltk 20030901-1
termcap 20021106-2
terminfo 5.4_20041009-1
texinfo 4.7-1
vim 6.3-1
w32api 3.2-1
Use -h to see help about each section


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019