By any chance, is the non-admin shell something other than bash, say,
tcsh? If so, please reply with that data. I assume the cygcheck.out
below was run from the administrator account? Please correct me if that
is not the case.
----- Original Message ----- From: "DJ Lee" <dlee@fas.harvard.edu>
To: <cygwin@cygwin.com>
Sent: Tuesday, April 11, 2006 5:03 PM
Subject: SSH works, but SFTP fails on non-admin users
Hello -
I just upgraded cygwin a few days ago (a lot of packages were upgraded),
and all of a sudden, I have an odd issue with SFTP.
On this box 'icenine', I have two users, one administrator, one
non-admin. I can ssh and scp into the box with both users without
problems; I can also sftp into the box with the admin user. But when I
try to sftp into icenine with the non-admin user, an error occurs on
icenine:
"This application has failed to start because cygcrypto-0.9.8.dll was
not found. Re-installing the application may fix this problem."
I've tried creating new users to investigate the problem. When I
created a new non-admin user, the same problem resulted. When I created
a new admin user, I _could_ log in with sftp. So the problem lies in
the distinction between admin and non-admin.
I've tried uninstalling the packages openssh and openssl and crypt, and
reinstalling... no change.
I also have another very similar box, with the same user setup, and
where I upgraded cygwin at the same time.. and no such behavior happens
there. I've looked at the permissions, both windows and cygwin
permissions, in lots of places on these two boxes, but I don't see any
obvious wrong permissions.. the permissions on /bin/cygcrypto-0.9.8.dll
and /usr/bin/cygcrypto-0.9.8.dll are the default, as well as /bin and
/usr/bin...
I have looked everywhere online, and I don't think anyone has had this
admin/non-admin problem before... does anyone have any ideas?
I've attached my `cygcheck -srv` output.
Thanks in advance,
DJ Lee
--------------------------------------------------------------------------------
Cygwin Configuration Diagnostics
Current System Time: Tue Apr 11 22:17:08 2006
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path: C:\Cygwin\usr\local\bin
C:\Cygwin\bin
C:\Cygwin\bin
C:\Cygwin\usr\X11R6\bin
c:\program files\imagemagick
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\PROGRA~1\SecureFX
c:\Program Files\SecureCRT\
c:\Program Files\MySQL\MySQL Server 4.1\bin
c:\Program Files\ATI Technologies\ATI Control Panel
C:\Cygwin\bin
.\
Output from C:\Cygwin\bin\id.exe (nontsec)
UID: 1005(icenine) GID: 513(None)
0(root) 513(None) 544(Administrators) 545(Users)
Output from C:\Cygwin\bin\id.exe (ntsec)
UID: 1005(icenine) GID: 513(None)
0(root) 513(None) 544(Administrators) 545(Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
USER = 'icenine'
PWD = '/home/icenine'
CYGWIN = 'ntsec'
HOME = '/home/icenine'
MAKE_MODE = 'unix'
HOMEPATH = '\Cygwin\home\icenine'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
HOSTNAME = 'icenine'
TERM = 'xterm'
SHELL = '/bin/bash'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 8 Stepping 1, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
SSH_CLIENT = '140.247.165.166 35518 22'
OLDPWD = '/home/icenine/wwwroot/include'
USERDOMAIN = 'ICENINE'
SSH_TTY = '/dev/tty3'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/WINDOWS/TEMP'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'icenine'
PROCESSOR_LEVEL = '6'
MAIL = '/var/spool/mail/icenine'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\icenine'
TZ = 'EST5EST4,M4.1.0/2,M10.5.0/2'
PS1 = '\[\033]0;\u@\h:\w\007\033[01;32m\]\u@\h \[\033[01;35m\]\w
\[\033[01;34m\]$ \[\033[0m\]'
LOGONSERVER = '\\ICENINE'
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 = 'icenine'
TMP = '/cygdrive/c/WINDOWS/TEMP'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Canon S750'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0801'
SSH_CONNECTION = '140.247.165.166 35518 140.247.165.33 22'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
COMPUTERNAME = 'ICENINE'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'
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
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
a: fd N/A N/A
c: hd NTFS 19085Mb 60% CP CS UN PA FC
d: cd N/A N/A
e: hd NTFS 686825Mb 94% CP CS UN PA
f: cd N/A N/A
g: hd NTFS 190779Mb 93% CP CS UN PA FC
i: hd NTFS 152625Mb 96% CP CS UN PA FC
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: crontab
Found: C:\Cygwin\bin\find.exe
Found: C:\Cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\Cygwin\bin\grep.exe
Found: C:\Cygwin\bin\kill.exe
Found: C:\Cygwin\bin\ld.exe
Found: C:\Cygwin\bin\ls.exe
Found: C:\Cygwin\bin\make.exe
Found: C:\Cygwin\bin\mv.exe
Not Found: patch
Found: C:\Cygwin\bin\perl.exe
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
Found: C:\Cygwin\bin\vim.exe
56k 2005/07/09 C:\Cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2005/7/9 1:09
7k 2005/11/20 C:\Cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
"cygcharset-1.dll" v0.0 ts=2005/11/19 21:24
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
1108k 2005/10/17 C:\Cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0
sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2005/10/17 5:16
1047k 2005/10/11 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=2005/10/11 8:47
895k 2004/04/28 C:\Cygwin\bin\cygdb-4.2.dll - os=4.0 img=1.0 sys=4.0
"cygdb-4.2.dll" v0.0 ts=2004/4/27 11:31
965k 2005/05/14 C:\Cygwin\bin\cygdb-4.3.dll - os=4.0 img=1.0 sys=4.0
"cygdb-4.3.dll" v0.0 ts=2005/5/14 8:37
1156k 2004/04/28 C:\Cygwin\bin\cygdb_cxx-4.2.dll - os=4.0 img=1.0 sys=4.0
"cygdb_cxx-4.2.dll" v0.0 ts=2004/4/27 11:35
1240k 2005/05/14 C:\Cygwin\bin\cygdb_cxx-4.3.dll - os=4.0 img=1.0 sys=4.0
"cygdb_cxx-4.3.dll" v0.0 ts=2005/5/14 8:41
174k 2004/10/14 C:\Cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-0.dll" v0.0 ts=2004/10/14 4:34
40k 2006/03/24 C:\Cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
"cygform-8.dll" v0.0 ts=2006/3/24 2:16
45k 2001/04/25 C:\Cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 1:28
35k 2002/01/09 C:\Cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 1:03
48k 2003/08/09 C:\Cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/8/9 5:25
28k 2003/07/20 C:\Cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-3.dll" v0.0 ts=2003/7/20 3:58
30k 2003/08/11 C:\Cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-4.dll" v0.0 ts=2003/8/10 22:12
19k 2003/03/22 C:\Cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/19 22:05
15k 2003/07/20 C:\Cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0
sys=4.0
"cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 4:00
15k 2003/08/11 C:\Cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0
sys=4.0
"cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 22:13
17k 2001/06/28 C:\Cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/6 23:34
29k 2003/08/10 C:\Cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2003/8/10 19:16
24k 2006/03/25 C:\Cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
"cyghistory6.dll" v0.0 ts=2006/3/25 9:05
947k 2005/11/20 C:\Cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2005/11/19 21:24
22k 2001/12/13 C:\Cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 4:28
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
21k 2001/06/20 C:\Cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 13:09
12k 2003/02/17 C:\Cygwin\bin\cygioperm-0.dll - os=4.0 img=1.0 sys=4.0
"cygioperm-0.dll" v0.0 ts=2003/2/17 14:58
21k 2006/03/24 C:\Cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-8.dll" v0.0 ts=2006/3/24 2:16
26k 2001/04/25 C:\Cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 1:27
20k 2002/01/09 C:\Cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 1:03
29k 2003/08/09 C:\Cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/8/9 5:25
21k 2004/10/22 C:\Cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0
"cygminires.dll" v0.0 ts=2004/10/22 16:28
67k 2006/03/24 C:\Cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0
sys=4.0
"cygncurses++-8.dll" v0.0 ts=2006/3/24 2:17
156k 2001/04/25 C:\Cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
175k 2002/01/09 C:\Cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
227k 2006/03/24 C:\Cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-8.dll" v0.0 ts=2006/3/23 23:51
226k 2001/04/25 C:\Cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 1:17
202k 2002/01/09 C:\Cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 1:03
224k 2003/08/09 C:\Cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/8/9 5:24
12k 2006/03/24 C:\Cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-8.dll" v0.0 ts=2006/3/24 2:16
15k 2001/04/25 C:\Cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 1:27
12k 2002/01/09 C:\Cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 1:03
19k 2003/08/09 C:\Cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/8/9 5:24
176k 2005/09/06 C:\Cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2005/9/6 16:49
299k 2005/09/06 C:\Cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcrecpp-0.dll" v0.0 ts=2005/9/6 17:26
6k 2005/09/06 C:\Cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0
sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2005/9/6 17:26
1249k 2005/12/30 C:\Cygwin\bin\cygperl5_8.dll - os=4.0 img=1.0 sys=4.0
"cygperl5_8.dll" v0.0 ts=2005/12/29 20:48
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
108k 2001/06/28 C:\Cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/6 23:34
148k 2003/08/10 C:\Cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2003/8/10 19:16
152k 2006/03/25 C:\Cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
"cygreadline6.dll" v0.0 ts=2006/3/25 9:05
231k 2005/10/17 C:\Cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.7.dll" v0.0 ts=2005/10/17 5:16
215k 2005/10/11 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=2005/10/11 8:47
65k 2005/08/23 C:\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2005/8/22 22:03
1763k 2006/01/20 C:\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2006/1/20 13:28
Cygwin DLL version info:
DLL version: 1.5.19
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 150
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: Fri Jan 20 13:28:43 EST 2006
CVS tag: cr-0x5ef
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 : LocalSystem
Cygwin Package Information
Last downloaded files to: C:\Documents and
Settings\icenine\Desktop\CYGTEMP
Last downloaded files from: ftp://ftp.cise.ufl.edu/pub/mirrors/cygwin
Package Version
_update-info-dir 00387-1
alternatives 1.3.20a-2
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.0-14
binutils 20050610-1
bzip2 1.0.3-1
clear 1.0-2
coreutils 5.94-1
crypt 1.1-1
cvs 1.11.17-1
cygrunsrv 1.15-1
cygutils 1.3.0-1
cygwin 1.5.19-4
cygwin-doc 1.4-3
diffutils 2.8.7-1
e2fsprogs 1.35-3
editrights 1.01-1
expat 1.95.8-1
findutils 4.2.27-1
gawk 3.1.5-4
gcc 3.4.4-1
gcc-core 3.4.4-1
gcc-g++ 3.4.4-1
gcc-mingw-core 20050522-1
gcc-mingw-g++ 20050522-1
gdbm 1.8.3-7
grep 2.5.1a-2
groff 1.18.1-2
gzip 1.3.5-1
ioperm 0.4-1
less 381-1
libbz2_1 1.0.3-1
libcharset1 1.9.2-2
libdb4.2 4.2.52-1
libdb4.3 4.3.28-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv 1.9.2-2
libiconv2 1.9.2-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libncurses-devel 5.5-2
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libncurses8 5.5-2
libpcre 4.1-2
libpcre0 6.3-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
libreadline6 5.1-5
login 1.9-7
make 3.80-1
man 1.5p-1
mingw-runtime 3.9-2
minires 1.00-1
minires-devel 1.00-1
mktemp 1.5-3
ncurses 5.5-2
openssh 4.3p2-3
openssl 0.9.8a-1
openssl-devel 0.9.8a-1
openssl097 0.9.7i-1
perl 5.8.7-5
perl-libwin32 0.26-1
ping 1.0-1
readline 5.1-5
rsync 2.6.6-1
run 1.1.9-1
rxvt 2.7.10-6
sed 4.1.5-1
tar 1.15.1-4
tcltk 20030901-1
termcap 20050421-1
terminfo 5.5_20060323-1
texinfo 4.8-1
time 1.7-1
unzip 5.50-5
util-linux 2.12r-2
vim 6.4-4
w32api 3.6-1
wget 1.10.2-1
which 1.7-1
zip 2.3-6
zlib 1.2.3-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/