Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 From: "Isabella Lau" To: cygwin AT cygwin DOT 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: 16 Nov 2001 21:58:20 +0800 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 AT Server_two DOT domainname DOT 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 AT cygwin DOT 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/