delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/16/08:58:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <isabella AT hutchcity DOT com>
To: cygwin AT cygwin DOT com
Subject: "passwd" command does not work in Cygwin ?
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 <cygwin at cygwin dot com> 
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019