From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3788 invoked by alias); 16 Nov 2001 13:58:24 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 3747 invoked from network); 16 Nov 2001 13:58:21 -0000 Received: from unknown (HELO green.mcis.hutchcity.com) (202.45.84.81) by sourceware.cygnus.com with SMTP; 16 Nov 2001 13:58:21 -0000 Received: from webmail ([202.45.84.65]) by green.mcis.hutchcity.com with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 16 Nov 2001 21:58:20 +0800 MIME-Version: 1.0 From: "Isabella Lau" To: cygwin@cygwin.com Subject: "passwd" command does not work in Cygwin ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <00fbf20581310b1GREEN@green.mcis.hutchcity.com> Date: Sun, 11 Nov 2001 08:26:00 -0000 X-SW-Source: 2001-11/txt/msg00424.txt.bz2 Hi, Rcp is ok now. For change password, Win 2000 works, but i would like the user telnet to Cygwin and use "passwd" command ( just like those in UNIX). This works for administrator. But for other user: $ login: testuser $ password: aa123aa $ $ passwd $ Enter new password ( minimum 5 characters, maximum 8 characters) Old password: aa123aa (<-- I type old password here) $ Bad password : too short I am sure that the old password is correct as i used it for login Cygwin. Does Cygwin support for change password with "passwd" command ? Thanks again! Isabella Subject: Re: 1. rcp permission denied 2. passwd : unknown user From: Corinna Vinschen Date: Mon, 12 Nov 2001 15:21:02 +0100 On Mon, Nov 12, 2001 at 09:34:29PM +0800, Isabella Lau wrote: > Description: > The description for Event ID (0) in Source (rshd) cannot be found. THe local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: rshd: Win32 Process Id=0xAE4 : Cygwin Process Id=0x394: testadm@Server_two.domainname.com as testadm: permission denied (.rhosts writeable by other than owner). cmd='rcp -f /net/test.sh > > ------------------------------------------------------------------------- > > - Mode of .rhost in /home/testadm 666 The above description says it all: ".rhosts writeable by other than owner". chmod 600 ~/.rhosts > 2. For another problem, I can change password of testadm in Server_one (i.e. domain user), but not in Server_two > > $ passwd > $ passwd : unknown user testadm > > I would like to know how to solve these problems. Thanks for your kindly help. Change the password using the NT user manager. That works always. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/