public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Vijay K Sukthankar <vksuktha@in.ibm.com>
To: Cygwin@cygwin.com
Subject: passwd -R
Date: Fri, 18 Apr 2014 05:31:00 -0000	[thread overview]
Message-ID: <OFA40FC8AD.438FBB46-ON65257CBE.001E57FE-65257CBE.001E5F4A@in.ibm.com> (raw)



Hi,

I am trying to decipher how to do some of commands on a cygwin shell
remotely. I am using a Jython script to reset the Admin password and I
understand that I would have to do the following

1) change the password registry entry using passwd -R
2) net user Administrator <new password>

When the command is executed it expects that a re-enter of password which I
dont want. Is there a way I can do echo passwd | passwd -R which would
change the password in registry.

Regards
Vijay Sukthankar
Master Inventor
IBM Software Lab, India



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2014-04-18  5:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18  5:31 Vijay K Sukthankar [this message]
2014-04-18 11:17 ` Corinna Vinschen
2014-07-25 12:09 Achim Gratz
2014-07-25 12:46 ` Corinna Vinschen
2014-07-25 13:18   ` Achim Gratz
2014-07-25 13:43     ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFA40FC8AD.438FBB46-ON65257CBE.001E57FE-65257CBE.001E5F4A@in.ibm.com \
    --to=vksuktha@in.ibm.com \
    --cc=Cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).