public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: "passwd" command does not work in Cygwin ?
  2001-11-11  8:26 "passwd" command does not work in Cygwin ? Isabella Lau
@ 2001-11-11  8:26 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-11-11  8:26 UTC (permalink / raw)
  To: cygwin

On Fri, Nov 16, 2001 at 09:58:20PM +0800, Isabella Lau wrote:
> 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 ?

Only for local users.  Domain users aren't supported yet.  Patches
are gratefully accepted, though...

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* "passwd" command does not work in Cygwin ?
@ 2001-11-11  8:26 Isabella Lau
  2001-11-11  8:26 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Isabella Lau @ 2001-11-11  8:26 UTC (permalink / raw)
  To: 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-16 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-11  8:26 "passwd" command does not work in Cygwin ? Isabella Lau
2001-11-11  8:26 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).