Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <27B37EE93C4ED611AB530002B39D72BC07328C94@pa62m02.iac.honeywell.com> From: "Steinman, Jethro F (PA62)" To: "'cygwin AT cygwin DOT com'" Subject: RE: cygwin and mkpasswd unable to recognize a domain user Date: Wed, 12 Jan 2005 11:55:26 -0700 MIME-Version: 1.0 Content-Type: text/plain Thanks for the info. Pierre. Comments below. > That's because either HOME is set in Windows to that path, > or (yes, related problem), Cygwin defaults to using your > HOMEDRIVE/HOMEPATH Right, but this is just a symptom (as you know). The more fundamental problem seems to be that the user id. is not recognized by cygwin so no /cygwin/home/ directory gets set up. > Normally the last line produced by "mkpasswd -l -c" > should give you a working password entry. > Does it? If not, send us your environment, i.e. the output of "set" in cmd.exe I tried this at the bash window. cd /cygdrive/c/cygwin/etc mkpasswd -l -c > passwd mkgroup -l -c > group After that I did see info. about my own domain log-in in file passwd. Then I closed the bash window and opened another to see if I still got complaints. Unfortunately, yes, though the error message is slightly different as follows. Your group name is currently "mkgroup_l_d". This indicates that not all domain users and groups are listed in the /etc/passwd and /etc/group files. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l -d > /etc/passwd mkgroup -l -d > /etc/group This message is only displayed once (unless you recreate /etc/group) and can be safely ignored. cp: `Settings/E712418/group.mkgroup_l_d': specified destination directory does not exist Try `cp --help' for more information. Also, I tried logging off and logging on to see if, after the passwd file change, the user home directory would appear as /cygwin/home/ but it didn't. As to the output of "set" executed at a windows command prompt see below. Regards, Jed ================ set output ============================================= ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\E712418\Application Data CIS_DIR=C:\explore CLEARCASE_PRIMARY_GROUP=PA62D\PlantScape CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=PA62D-XPWKS107 ComSpec=C:\WINDOWS\system32\cmd.exe EDNEXE=C:\EDOTNET\bin\win32\edotnetjit.exe EDOTNETHOME=C:\EDOTNET GHS_LMHOST=@pa62dla02,trmsvr HOMEDRIVE=C: HOMEPATH=\Documents and Settings\E712418 INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\ LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\ LM_LICENSE_FILE=27000 AT PA62DLA02 LOGONSERVER=\\PA62DC601 NUMBER_OF_PROCESSORS=1 NuSMV_LIBRARY_PATH=C:\ProgramFiles\nusmv-2.1.2\share\nusmv OS=Windows_NT p2=c:\program files\microsoft office\office p3=C:\ProgramFiles\nusmv-2.1.2\bin p4=C:\Program Files\smv2.5 p5=C:\cygwin\bin p6=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\Bin p7=C:\cygwin\usr\local\ppc\bin p8=C:\cygwin\usr\local\ppc\powerpc-elf\bin Path=C:\ORACLE\ORA81\BIN;C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN;C:\PERL\BIN\;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WI NDOWS\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 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH pB=C:\GHS\ppc401 pC=C:\FR\TestInterop1\TestInterop1DLL\Debug pd=y:\cee\components\cee\CDAPeerClientDLL\Debug pe=C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 pf=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin pg=C:\FR ph=C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 pi=C:\Temporary Internet Files pp1=b: pp2=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin pp3=c:\program files\microsoft visual studio\common\tools pp4=h:\utl pp5=C:\CC3_LL\IlDeCompiler pp6=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin pp7=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0905 ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=c:\temp TMP=c:\temp USERDNSDOMAIN=honeywell.ds.honeywell.com USERDOMAIN=HONEYWELL USERNAME=E712418 USERPROFILE=C:\Documents and Settings\E712418 VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\ whichperl=ccperl windir=C:\WINDOWS -- 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/