Mail Archives: cygwin/2009/05/15/00:24:18
--------------050605050101020200050600
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
I've installed cygwin 1.5 on my WHS box as Administrator. I've opened a
cygwin terminal and executed the mkpasswd -l > /etc/passwd and mkgroup
-l > /etc/group commands, executed ssh-host-setup and used privilege
separation, and everything seems to have executed OK. I can ssh to that
machine as Administrator just fine using password auth. However, I
can't ssh in as any other user on that machine using password
authentication - I get told that the password is incorrect, which I know
it isn't. I can use key-based auth to login as any user, so I do have a
workaround, but I'm curious as to why no user but Administrator can use
password auth to log in? I've logged in via remote desktop as the user
I wish to SSH as and ran ssh-user-config as that user (that's how I got
the key-based login working). I haven't done that as Administrator,
though, and it still lets me log in just fine there.
Sorry if this is a bit rambling, but I've been working on this problem
for a while and it's getting late where I am... cygcheck.out is attached.
--------------050605050101020200050600
Content-Type: text/plain;
name="cygcheck.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="cygcheck.out"
Cygwin Configuration Diagnostics
Current System Time: Fri May 15 00:15:46 2009
Windows 2003 Server Ver 5.2 Build 3790 Service Pack 2
Path: c:\cygwin\usr\local\bin
c:\cygwin\bin
c:\cygwin\bin
c:\cygwin\usr\X11R6\bin
c:\Program Files\Windows Resource Kits\Tools\
c:\php
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\MySQL\MySQL Server 5.0\bin
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
c:\cygwin\bin
c:\cygwin\bin
Output from c:\cygwin\bin\id.exe (nontsec)
UID: 1022(duckpuppy) GID: 513(None)
513(None) 550(Print Operators)
555(Remote Desktop Users) 545(Users)
1014(RW_3) 1008(RW_4)
1016(RW_5) 1012(RW_6)
1020(RW_7) 1018(RW_B)
1033(RW_J) 1044(RW_O)
1047(RW_P) 1021(Windows Home Server Users)
Output from c:\cygwin\bin\id.exe (ntsec)
UID: 1022(duckpuppy) GID: 513(None)
513(None) 550(Print Operators)
555(Remote Desktop Users) 545(Users)
1014(RW_3) 1008(RW_4)
1016(RW_5) 1012(RW_6)
1020(RW_7) 1018(RW_B)
1033(RW_J) 1044(RW_O)
1047(RW_P) 1021(Windows Home Server Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
USER = 'duckpuppy'
PWD = '/home/duckpuppy'
CYGWIN = 'ntsec'
HOME = '/home/duckpuppy'
MAKE_MODE = 'unix'
HOMEPATH = '\cygwin\home\duckpuppy'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
HOSTNAME = 'speedforce'
TERM = 'xterm'
SHELL = '/bin/bash'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 12 Stepping 0, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
SSH_CLIENT = '192.168.1.40 50424 22'
OLDPWD = '/home/duckpuppy'
USERDOMAIN = 'SPEEDFORCE'
SSH_TTY = '/dev/tty2'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/DOCUME~1/CYG_SE~1/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'cyg_server'
PROCESSOR_LEVEL = '15'
MAIL = '/var/spool/mail/duckpuppy'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\duckpuppy.SPEEDFORCE'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\SPEEDFORCE'
PROCESSOR_ARCHITECTURE = 'x86'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'c:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
LOGNAME = 'duckpuppy'
TMP = '/cygdrive/c/DOCUME~1/CYG_SE~1/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Microsoft XPS Document Writer'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0c00'
SSH_CONNECTION = '192.168.1.40 50424 192.168.1.2 22'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
COMPUTERNAME = 'SPEEDFORCE'
_ = '/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
(default) = 'Administrator;duckpuppy;renee'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = '/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = 'c:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = 'c:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = 'c:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
c: hd NTFS 20481Mb 36% CP CS UN PA FC SYS
d: hd NTFS 361062Mb 49% CP CS UN PA FC DATA
x: cd UDF 827Mb 100% CS UN CC1HEVL_EN
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
Not Found: cpp (good!)
Found: c:\cygwin\bin\crontab.exe
Found: c:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: c:\cygwin\bin\grep.exe
Found: c:\cygwin\bin\kill.exe
Not Found: ld
Found: c:\cygwin\bin\ls.exe
Not Found: make
Found: c:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: c:\cygwin\bin\rm.exe
Found: c:\cygwin\bin\sed.exe
Found: c:\cygwin\bin\ssh.exe
Found: c:\cygwin\bin\sh.exe
Found: c:\cygwin\bin\tar.exe
Found: c:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim
61k 2009/03/02 c:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2009/3/1 21:52
7k 2003/10/19 c:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 3:57
1075k 2009/03/25 c:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.8.dll" v0.0 ts=2009/3/25 13:21
40k 2009/03/01 c:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
"cygform-8.dll" v0.0 ts=2009/2/28 21:40
42k 2009/03/12 c:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
"cyggcc_s-1.dll" v0.0 ts=2009/3/6 6:54
24k 2008/11/29 c:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
"cyghistory6.dll" v0.0 ts=2008/11/29 9:30
270k 2009/04/23 c:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
"cygicons-0.dll" v0.0 ts=2009/4/22 22:25
978k 2008/11/10 c:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2008/11/9 19:35
37k 2003/08/10 c:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 17:50
31k 2005/11/20 c:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
"cygintl-3.dll" v0.0 ts=2005/11/19 21:04
31k 2008/12/31 c:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
"cygintl-8.dll" v0.0 ts=2008/12/31 2:42
21k 2009/03/01 c:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-8.dll" v0.0 ts=2009/2/28 21:38
24k 2008/10/30 c:\cygwin\bin\cygminires.dll - os=4.0 img=1.2 sys=4.0
"cygminires.dll" v0.0 ts=2008/10/30 19:53
66k 2009/03/01 c:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++-8.dll" v0.0 ts=2009/2/28 21:50
237k 2009/03/01 c:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-8.dll" v0.0 ts=2009/2/28 21:36
11k 2009/03/01 c:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-8.dll" v0.0 ts=2009/2/28 21:38
181k 2008/09/07 c:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2008/9/6 23:36
302k 2008/09/07 c:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcrecpp-0.dll" v0.0 ts=2008/9/6 23:36
7k 2008/09/07 c:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2008/9/6 23:36
22k 2002/06/09 c:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
155k 2008/11/29 c:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
"cygreadline6.dll" v0.0 ts=2008/11/29 9:30
232k 2009/03/25 c:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.8.dll" v0.0 ts=2009/3/25 13:22
22k 2009/03/29 c:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
"cygwrap-0.dll" v0.0 ts=2009/3/29 2:09
65k 2009/03/02 c:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2009/3/1 20:19
1829k 2008/06/12 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2008/6/12 13:35
Cygwin DLL version info:
DLL version: 1.5.25
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
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: Thu Jun 12 19:34:46 CEST 2008
CVS tag: cr-0x5f1
Shared id: cygwin1S4
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/sshd -D
stdin path : /dev/null
stdout path : /var/log/sshd.log
stderr path : /var/log/sshd.log
Environment : CYGWIN="ntsec"
Process Type : Own Process
Startup : Automatic
Dependencies : tcpip
Account : .\cyg_server
Service : cygserver
Display name : CYGWIN cygserver
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/cygserver
stdin path : /dev/null
stdout path : /var/log/cygserver.log
stderr path : /var/log/cygserver.log
Process Type : Own Process
Startup : Automatic
Account : LocalSystem
Cygwin Package Information
Last downloaded files to: c:\cygwin\packages
Last downloaded files from: http://www.gtlib.gatech.edu/pub/cygwin/
Package Version
_update-info-dir 00819-1
alternatives 1.3.30c-3
ash 20040127-4
base-files 3.7-1
base-passwd 2.2-1
bash 3.2.48-21
bzip2 1.0.5-3
coreutils 6.10-2
cron 4.1-7
crypt 1.1-1
csih 0.2.0-1
cygrunsrv 1.34-1
cygutils 1.3.4-1
cygwin 1.5.25-15
cygwin-doc 1.4-4
diffutils 2.8.7-1
editrights 1.01-2
findutils 4.4.0-3
gawk 3.1.6-1
grep 2.5.3-1
groff 1.19.2-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.5-3
libgcc1 4.3.2-2
libiconv2 1.12-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libintl8 0.17-3
libncurses8 5.5-4
libpcre0 7.8-1
libpopt0 1.6.4-4
libreadline6 5.2.13-11
libwrap0 7.6-6
login 1.10-1
man 1.6e-1
minires 1.02-1
openssh 5.1p1-10
openssl 0.9.8k-1
rebase 3.0-2
run 1.1.10-1
sed 4.1.5-2
shutdown 1.7-1
syslog-ng 2.1.1-1
tar 1.21-1
termcap 20050421-1
terminfo 5.7_20090228-1
terminfo0 5.5_20061104-2
texinfo 4.13-3
tzcode 2008h-1
which 2.20-1
zlib 1.2.3-3
zlib-devel 1.2.3-3
zlib0 1.2.3-3
Use -h to see help about each section
--------------050605050101020200050600
Content-Type: text/plain; charset=us-ascii
--
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/
--------------050605050101020200050600--
- Raw text -