delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/13/20:52:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <3FB4359A.3030204@student.unsw.edu.au>
Date: Fri, 14 Nov 2003 12:53:30 +1100
From: John Pye <john DOT pye AT student DOT unsw DOT edu DOT au>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.5: sshd problem
References: <3FB42AA5 DOT 9090302 AT curioussymbols DOT com>
In-Reply-To: <3FB42AA5.9090302@curioussymbols.com>
X-Enigmail-Version: 0.76.7.0
X-Enigmail-Supports: pgp-inline, pgp-mime

Well... This is looking weird now :-)
In response to your suggestions, Igor...

>Access is denied.
>
>At a guess, your sshd doesn't have permissions to execute bash.
>  
>
> $ net helpmsg 5

john AT john ~
$ net helpmsg 5

Access is denied.


john AT john ~

>Please post the output of "ls -ln /bin/bash".
>  
>
john AT john ~
$ ls -ln /bin/bash
-rwxrwxrwx    1 1000     545        527360 Oct 20 22:12 /bin/bash

john AT john ~
$

Why are those numbers like that? 1000 and 545? Shouldn't they read my 
username? Some of /etc/passwd:

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-JOHN\Administrator
john:unused_by_nt/2000/xp:1000:513:John Pye,U-JOHN\john,S-1-5-2
sshd:unused_by_nt/2000/xp:1004:513:sshd privsep,U-JOHN\sshd,S-1

Also...

john AT john ~
$ cat /etc/group
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1960408961-1647877149-725345543-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

How would /bin/bash have become chmod 777 ?

>Also, please post the output of "mount -m" and
>"/bin/ls -1 /proc/registry/HKEY_USERS/*/Software/Cygnus\ Solutions/Cygwin/mounts\ v2/".
>
>  
>
john AT john ~
$ /bin/ls -1 /proc/registry/HKEY_USERS/*/Software/Cygnus\ 
Solutions/Cygwin/mounts\ v2/

john AT john ~
$

Thanks for the suggestions, Igor

JP

-- 
John Pye
School of Mechanical and Manufacturing Engineering
The University of New South Wales
Sydney  NSW 2052  Australia  
t +61 2 9385 5127  
f +61 2 9663 1222



--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019