Mail Archives: cygwin/2003/11/13/20:52:58
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 -