This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

"passwd" command does not work in Cygwin ?


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@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/


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