Mail Archives: cygwin/2003/11/16/21:28:47
Thanks for the extra tips, Igor. Do any of these results look strange to
you?
Igor Pechtchanski wrote:
>That's the default mode Windows gives it. This should work, but somehow
>doesn't... Can sshd get to all the necessary files and directories? Look
>at the permissions on /etc and the files in it, as well as /bin.
>
>
>
I tried an ls -l /etc and found
-rwxr-xr-x 1 SYSTEM None 1159 Nov 13 19:02 ssh_config
-rw------- 1 SYSTEM None 668 Nov 13 19:02 ssh_host_dsa_key
-rw-r--r-- 1 SYSTEM None 599 Nov 13 19:02 ssh_host_dsa_key.pub
-rw------- 1 SYSTEM None 524 Nov 13 19:02 ssh_host_key
-rw-r--r-- 1 SYSTEM None 328 Nov 13 19:02 ssh_host_key.pub
-rw------- 1 SYSTEM None 887 Nov 13 19:02 ssh_host_rsa_key
-rw-r--r-- 1 SYSTEM None 219 Nov 13 19:02 ssh_host_rsa_key.pub
-rw-r--r-- 1 SYSTEM None 2427 Nov 13 19:03 sshd_config
That looks OK I thought... or is it? Does 'SYSTEM' need to be able to
read those files, or does 'sshd'?
I also had a look at /etc/bin and it's all owned by john.Users, for example
-rwxrwxrwx 1 john Users 19456 Feb 20 2002 split.exe
-rwxrwxrwx 1 john Users 68608 Nov 6 02:47 ssh-add.exe
-rwxrwxrwx 1 john Users 57856 Nov 6 02:47 ssh-agent.exe
-rwxrwxrwx 1 john Users 17333 Nov 6 02:47 ssh-host-config
-rwxrwxrwx 1 john Users 75776 Nov 6 02:47 ssh-keygen.exe
-rwxrwxrwx 1 john Users 130048 Nov 6 02:47 ssh-keyscan.exe
-rwxrwxrwx 1 john Users 6266 Nov 6 02:47 ssh-user-config
-rwxrwxrwx 1 john Users 223232 Nov 6 02:47 ssh.exe
-rwxrwxrwx 1 john Users 18944 Sep 21 06:32 ssp.exe
-rwxrwxrwx 1 john Users 87552 Aug 26 2002 states.exe
-rwxrwxrwx 1 john Users 23552 Sep 21 06:32 strace.exe
That could be a problem perhaps? Should the 'Users' group contain 'sshd'
or is access for sshd to the /bin executables handled somehow else?
>Ok, looks like all your mounts are system mounts, unless you simply don't
>have the permission to read the registry keys for the SYSTEM user...
>
>
That seems strange. My home computer has a couple of mounts when I run
that command, but this system has none. However, it works fine locally
(compiling, listing files, /cygdrive/c, etc). I haven't ever tinkered
with the mounts, so I wonder how that comes to be... Couldn't be related
to mingw/msys could it?
John
--
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 -