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: <3DB9C44F.2060606@Salira.com> Date: Fri, 25 Oct 2002 15:23:11 -0700 From: Andrew DeFaria <ADeFaria AT Salira DOT com> Organization: Salira Optical Networks User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en, ru, zh MIME-Version: 1.0 CC: cygwin AT cygwin DOT com Subject: Re: Problem with rsh References: <3DB9AD4E DOT 10407 AT Salira DOT com> <3DB9C013 DOT CF6CF751 AT acm DOT org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Oct 2002 22:23:29.0046 (UTC) FILETIME=[24D08B60:01C27C75] David Rothenberger wrote: >Check your /etc/passwd file and make sure there is no entry in the password field (the second field). You want something like this: > >someuser::11150:... > >and not something like this: > >someuser:unused_by_nt/2000/xp:11150:... > >An easy way to check if this is the culprit is to try doing an >rlogin. For me, this will ask me for a password and then succeed if I have an entry in the password field. If the password field is empty, it succeeds without asking for a password. > Wham! Good answer! It works! Actually I viewed the "unused_by_nt/2000/xp" string as ugly and replaced it with the traditional "*" instead. But you're right, if you put anything in there it gives me a Permission denied for "rsh <machine> <command>". Looks like some security checking got tightened up. This does lead to a question as I believe some other services (ssh? exim? I forget) require that you put an actual passwd in /etc/passwd. They also described how to generate the crypt string. I've done this on my home machine so I copied that encrypted string to my work machine and I still get permission denied. Sounds like it's still a problem but at least I have a workaround for work. Thanks. > >Andrew DeFaria wrote: > > >>I've run into a major problem using rsh. Note that I've been using rsh >>successfully for a while and many people here depend on being able to >>rsh into the server. However now I get: >> >>$ rsh server id >>server.mydomain.com: Permission denied. >> >> -- Salira <http://www.salira.com> Ethernet Simple, Fiber Fast 5451 Patrick Henry Drive Santa Clara, CA 95054 Phone: (408)-845-5321 Fax: (408)-845-5205 Email: ADeFaria AT Salira DOT com <mailto:Andrew%20DeFaria%20%3CADeFaria AT Salira DOT com%3E> Web: http://www.salira.com Instant Messaging AIM: defaria MSN: Andrew AT DeFaria DOT com Yahoo: andrew_defaria ICQ #: 23552673 Andrew DeFaria <http://DeFaria.com> Clearcase Administrator Email: Andrew AT DeFaria DOT com <mailto:Andrew AT DeFaria DOT com> Web: http://DeFaria.com -- 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/