passwd -R

Vijay K Sukthankar vksuktha@in.ibm.com
Fri Apr 18 05:31:00 GMT 2014



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



More information about the Cygwin mailing list