This is the mail archive of the
cygwin
mailing list for the Cygwin project.
passwd -R
- From: Vijay K Sukthankar <vksuktha at in dot ibm dot com>
- To: Cygwin at cygwin dot com
- Date: Fri, 18 Apr 2014 10:58:41 +0530
- Subject: passwd -R
- Authentication-results: sourceware.org; auth=none
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