This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with latest snapshot and rsh


Hello,

there is a problem with the lastest snapshot and rsh.
With an older snapshot I can work with rsh.
The new snapshot break something.


===================================================================
Good case with snapshot from 20020529

m0195@MC02092 ~
$ uname -a
CYGWIN_NT-5.0 MC02092 1.3.11s(0.53/3/2) 20020529 22:46:45 i686 unknown

m0195@MC02092 ~
$ net start inetd
CYGWIN inetd wird gestartet.
CYGWIN inetd wurde erfolgreich gestartet.


m0195@MC02092 ~
$ rsh mc02092 -l administrator ls -l .rhosts
-rw-------    1 Administ Kein          122 Jun 22 22:34 .rhosts

m0195@MC02092 ~
$ rsh mc02092 -l m0195 ls -l .rhosts
-rw-------    1 m0195    Administ      136 Jun 22 22:53 .rhosts

m0195@MC02092 ~
$ rlogin mc02092 -l m0195
Password:
Fanfare!!!
You are successfully logged in to this server!!!

m0195@MC02092 ~
$ exit
logout
rlogin: connection closed.

m0195@MC02092 ~
$ rlogin mc02092 -l administrator
Password:
Fanfare!!!
You are successfully logged in to this server!!!

Administrator@MC02092 ~
$ exit
logout
rlogin: connection closed.

m0195@MC02092 ~
$ net stop inetd
CYGWIN inetd wird beendet.
CYGWIN inetd wurde erfolgreich beendet.

===================================================================
Bad case with snapshot from 20020625

m0195@MC02092 ~
$ uname -a
CYGWIN_NT-5.0 MC02092 1.3.11s(0.53/3/2) 20020625 11:55:16 i686 unknown

m0195@MC02092 ~
$ net start inetd
CYGWIN inetd wird gestartet.
CYGWIN inetd wurde erfolgreich gestartet.


m0195@MC02092 ~
$ rsh mc02092 -l administrator ls -l .rhosts
ls: write error: Operation not permitted

m0195@MC02092 ~
$ rsh mc02092 -l m0195 ls -l .rhosts
MC02092.due.avinci.de: Permission denied.

m0195@MC02092 ~
$ rlogin mc02092 -l m0195
Password:
Fanfare!!!
You are successfully logged in to this server!!!

m0195@MC02092 ~
$ exit
logout
rlogin: connection closed.

m0195@MC02092 ~
$ rlogin mc02092 -l administrator
Password:
Fanfare!!!
You are successfully logged in to this server!!!

Administrator@MC02092 ~
$ exit
logout
rlogin: connection closed.

m0195@MC02092 ~
$ net stop inetd
CYGWIN inetd wird beendet.
CYGWIN inetd wurde erfolgreich beendet.

===================================================================
I have attached straces from the bad case.
$ strace rsh mc02092 -l administrator ls -l .rhosts > rsh_admin.out
ls: write error: Operation not permitted

m0195@MC02092 ~
$ strace rsh mc02092 -l m0195 ls -l .rhosts > rsh_m0195.out
MC02092.due.avinci.de: Permission denied.

Regards
Dirk 

Attachment: rsh_m0195.out.bz2
Description: Binary data

Attachment: rsh_admin.out.bz2
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]