This is the mail archive of the cygwin@sources.redhat.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]

Re: rsh -l doesn't require a password



--- Jason Tishler <Jason.Tishler@dothill.com> wrote: 

> Since Cygwin's mkpasswd creates an empty pw_passwd field, the above
> code never calls iruserok().  Hence, any user is allowed rsh access.
> 
> I "fixed" the problem by inserting asterisks into the pw_passwd
> fields in my /etc/passwd file.  For example:
> 
>     jt:*:1004:513:Jason Tishler,S-1...
>        ^
>        +--- here

Thanks for the tip. That works for me!

> I never submitted a patch because it seems like the s-commands (i.e.,
> ssh) are much more in vogue then the r-commands (i.e., rsh) now a days.

I'm obviously too trusting!

Keith


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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