Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 7 Sep 2001 22:49:37 +0300 (EET DST) From: Antti Karanta X-Sender: akaranta AT kosh DOT hut DOT fi Reply-To: Antti DOT Karanta AT iki DOT fi To: cygwin AT cygwin DOT com Subject: User name? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Note-from-DJ: This may be spam Hi! Why does the cygwin bash shell think my user name is Administrator: -- $ whoami Administrator -- I have administrator rights, but am using a different user id to log in. (Ok, I know I should not use Administrator rights for normal usage. With windows, I just have to. Otherwise it's a pain.) How can I get it to identify me correctly? OS: W2K Install process: Internet install, with 2001-09-07 version of the Setup.exe, via ftp.sunet.se, downloaded all packages output of cygcheck -s -v -r below Yes, I went through the FAQ and user's guide (not word to word, but searched for 'user', 'uid' and 'administrator') but could not find an answer to this. xxx -A -- # www.iki.fi/antahkarana # antahkarana: Mind vehicle: bridge between the higher and lower mind (Sanskrit). --------clip--------clip-------clip--------clip-------clip-------clip-------- Cygnus Win95/NT Configuration Diagnostics Current System Time: Fri Sep 7 22:30:31 2001 WinNT Ver 5.0 build 2195 Service Pack 2 Path: /usr/local/bin /usr/bin /bin /cygdrive/c/Programs/Borland/AppServer/bin /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT /cygdrive/c/WINNT/System32/Wbem /cygdrive/c/Program Files/Microsoft SQL Server/80/Tools/BINN /cygdrive/c/Programs/jdk1.3.1/bin /cygdrive/c/PROGRA~1/Tcl/bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT PWD = `/cygdrive/c/user/ak' USER = `Administrator' MAKE_MODE = `unix' HOME = `/cygdrive/c/user/ak/' NUMBER_OF_PROCESSORS = `1' PROMPT = `$P$G' LOGONSERVER = `\\MARS' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' COMSPEC = `C:\WINNT\system32\cmd.exe' !C: = `C:\Programs\cygwin\bin' SYSTEMDRIVE = `C:' HOSTNAME = `HYPERION' PROCESSOR_REVISION = `0806' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' COMPUTERNAME = `HYPERION' CLASSPATH = `c:\Programs\jdk1.3.1\lib\tools.jar;C:\Programs\jakarta-tomcat-3.2.3\jakarta-servletapi-3.2.3\lib\servlet.jar;C:\Programs\jakarta-tomcat-3.2.3\jakarta-servletapi-3.2.3\lib\jasper.jar;c:\Programs\jdk1.3.1\lib\opta.jar;.' WINDIR = `C:\WINNT' USERPROFILE = `C:\Documents and Settings\akaranta' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' HOMESHARE = `\\mars\akaranta$' PROGRAMFILES = `C:\Program Files' USERDNSDOMAIN = `fcspartners.fi' !:: = `::\' MACHTYPE = `i686-pc-cygwin' !H: = `H:\' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel' OS = `Windows_NT' OLDPWD = `/cygdrive/c/user/ak/kurssit' CVS_RSH = `ssh' PROCESSOR_ARCHITECTURE = `x86' TEMP = `/cygdrive/c/DOCUME~1/akaranta/LOCALS~1/Temp' PROCESSOR_LEVEL = `6' SYSTEMROOT = `C:\WINNT' TOMCAT_HOME = `C:\Programs\jakarta-tomcat-3.2.3' JAVA_HOME = `c:\Programs\jdk1.3.1' TMP = `/cygdrive/c/DOCUME~1/akaranta/LOCALS~1/Temp' HOMEDRIVE = `H:' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' SHLVL = `1' APPDATA = `C:\Documents and Settings\akaranta\Application Data' COMMONPROGRAMFILES = `C:\Program Files\Common Files' HOMEPATH = `\' USERDOMAIN = `FCSPARTNERS' USERNAME = `akaranta' SHELL = `/bin/bash' HOSTTYPE = `i686' CVSROOT = `:ext:akaranta AT 193 DOT 65 DOT 82 DOT 152:/usr/local/cvsrepositories/kurssit' OSTYPE = `cygwin' TERM = `cygwin' _ = `/usr/bin/cygcheck' TZ = `FLEST-2FLEDT-3,M3.5.0/3,M10.5.0/4' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:/Programs/cygwin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:/Programs/cygwin/bin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:/Programs/cygwin/lib' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options c: hd NTFS 19077Mb 44% CP CS UN PA FC d: cd N/A N/A h: net NTFS 34718Mb 75% CP CS UN PA FC MARS_D C:\Programs\cygwin\bin /usr/bin system textmode C:\Programs\cygwin\lib /usr/lib system textmode C:\Programs\cygwin / system textmode c: /cygdrive/c user textmode,noumount h: /cygdrive/h user textmode,noumount Found: C:\Programs\cygwin\bin\bash.exe Found: C:\Programs\cygwin\bin\cat.exe Found: C:\Programs\cygwin\bin\cpp.exe Found: C:\Programs\cygwin\bin\find.exe Found: C:\Programs\cygwin\bin\gcc.exe Found: C:\Programs\cygwin\bin\gdb.exe Found: C:\Programs\cygwin\bin\ld.exe Found: C:\Programs\cygwin\bin\ls.exe Found: C:\Programs\cygwin\bin\make.exe Found: C:\Programs\cygwin\bin\sh.exe 56k 2000/12/03 C:\Programs\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0 "cygbz21.0.dll" v0.0 ts=2000/11/21 1:53 45k 2001/04/25 C:\Programs\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/25 8:28 18k 2000/10/23 C:\Programs\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2000/10/23 5:26 17k 2001/06/28 C:\Programs\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/7 6:34 21k 2001/06/28 C:\Programs\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2001/6/28 5:27 21k 2001/06/20 C:\Programs\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2001/6/20 20:09 81k 2000/12/05 C:\Programs\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/11/26 3:43 35k 2000/12/05 C:\Programs\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/11/26 3:43 45k 2001/07/04 C:\Programs\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0 "cygjbig1.dll" v0.0 ts=2001/7/4 6:25 119k 2001/06/06 C:\Programs\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0 "cygjpeg6b.dll" v0.0 ts=2001/6/6 7:27 26k 2001/04/25 C:\Programs\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/25 8:27 156k 2001/04/25 C:\Programs\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/25 8:29 226k 2001/04/25 C:\Programs\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/25 8:17 15k 2001/04/25 C:\Programs\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/25 8:27 163k 2001/05/06 C:\Programs\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0 "cygpng2.dll" v0.0 ts=2001/5/6 7:05 108k 2001/06/28 C:\Programs\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/7 6:34 135k 2001/06/28 C:\Programs\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2001/6/28 5:27 390k 2000/12/05 C:\Programs\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2000/11/26 3:39 5k 2000/12/05 C:\Programs\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2000/12/05 C:\Programs\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2000/11/26 3:39 245k 2001/06/12 C:\Programs\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0 "cygtiff3.dll" v0.0 ts=2001/6/12 20:25 623k 2000/12/05 C:\Programs\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/11/26 3:43 41k 2001/07/04 C:\Programs\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-noX4.dll" v0.0 ts=2001/7/4 4:21 45k 2001/07/04 C:\Programs\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-X4.dll" v0.0 ts=2000/11/20 4:45 49k 2001/02/03 C:\Programs\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2001/2/3 22:35 678k 2001/05/21 C:\Programs\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2001/5/21 6:28 Cygwin DLL version info: dll major: 1003 dll minor: 2 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 dll malloc env: 28 api major: 0 api minor: 39 shared data: 3 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: Sun May 20 23:28:17 EDT 2001 shared id: cygwin1S3 Use -h to see help about each section -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/