* passwd -R @ 2014-07-25 12:09 Achim Gratz 2014-07-25 12:46 ` Corinna Vinschen 0 siblings, 1 reply; 6+ messages in thread From: Achim Gratz @ 2014-07-25 12:09 UTC (permalink / raw) To: cygwin I've been running with the latest LDAP enabled snapshot from 2014-07-14. With this snapshot the "passwd -R" hangs when trying to set or delete the password on the server. The snapshot from 2014-07-09 works correctly in that respect. Would it be possible to roll a new LDAP enabled snapshot with all the fixes based on the latest Cygwin release, please? Regards, Achim. -- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: passwd -R 2014-07-25 12:09 passwd -R Achim Gratz @ 2014-07-25 12:46 ` Corinna Vinschen 2014-07-25 13:18 ` Achim Gratz 0 siblings, 1 reply; 6+ messages in thread From: Corinna Vinschen @ 2014-07-25 12:46 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 894 bytes --] On Jul 25 12:09, Achim Gratz wrote: > I've been running with the latest LDAP enabled snapshot from 2014-07-14. > With this snapshot the "passwd -R" hangs when trying to set or delete the > password on the server. That's very likely the problem introduced by changing the default mutex type and fixed in 1.7.31-2. The getpass function hangs due to the main thread's mutex not being a PTHREAD_MUTEX_RECURSIVE. > The snapshot from 2014-07-09 works correctly in > that respect. > > Would it be possible to roll a new LDAP enabled snapshot with all the fixes > based on the latest Cygwin release, please? 2014-07-24 is such a snapshot, basically what I just upload as 1.7.31-3, plus all the AD integration stuff. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: passwd -R 2014-07-25 12:46 ` Corinna Vinschen @ 2014-07-25 13:18 ` Achim Gratz 2014-07-25 13:43 ` Corinna Vinschen 0 siblings, 1 reply; 6+ messages in thread From: Achim Gratz @ 2014-07-25 13:18 UTC (permalink / raw) To: cygwin Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > 2014-07-24 is such a snapshot, basically what I just upload as 1.7.31-3, > plus all the AD integration stuff. OK. I'll have to pull from the mirrors and then roll a new snapshot package locally. BTW, the ChangeLog for that snapshot looks like it might have a typo in the last date, or is this really from February? Regards, Achim. -- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: passwd -R 2014-07-25 13:18 ` Achim Gratz @ 2014-07-25 13:43 ` Corinna Vinschen 0 siblings, 0 replies; 6+ messages in thread From: Corinna Vinschen @ 2014-07-25 13:43 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 650 bytes --] On Jul 25 13:18, Achim Gratz wrote: > Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > > 2014-07-24 is such a snapshot, basically what I just upload as 1.7.31-3, > > plus all the AD integration stuff. > > OK. I'll have to pull from the mirrors and then roll a new snapshot package > locally. BTW, the ChangeLog for that snapshot looks like it might have a > typo in the last date, or is this really from February? Looks ok. It's a change in utils. No worries. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* passwd -R @ 2014-04-18 5:31 Vijay K Sukthankar 2014-04-18 11:17 ` Corinna Vinschen 0 siblings, 1 reply; 6+ messages in thread From: Vijay K Sukthankar @ 2014-04-18 5:31 UTC (permalink / raw) To: Cygwin 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: passwd -R 2014-04-18 5:31 Vijay K Sukthankar @ 2014-04-18 11:17 ` Corinna Vinschen 0 siblings, 0 replies; 6+ messages in thread From: Corinna Vinschen @ 2014-04-18 11:17 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 1384 bytes --] On Apr 18 10:58, Vijay K Sukthankar wrote: > > > 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 Hang on. You only need to do this if you use the account for login purposes where you don't want to give your password, according to http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview > 2) net user Administrator <new password> Otherwise this command or just using the Cygwin passwd command without the -R option is sufficient: http://cygwin.com/cygwin-ug-net/using-utils.html#passwd > 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. That's not provided for. You could try to give the password twice echo -e "${pwd}\n${pwd" | passwd but no guarantee that it works. Alternativly you write a tiny tool which calls the Win32 function NetUserChangePassword: http://msdn.microsoft.com/en-us/library/bb706725.aspx Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-25 13:43 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-07-25 12:09 passwd -R Achim Gratz 2014-07-25 12:46 ` Corinna Vinschen 2014-07-25 13:18 ` Achim Gratz 2014-07-25 13:43 ` Corinna Vinschen -- strict thread matches above, loose matches on Subject: below -- 2014-04-18 5:31 Vijay K Sukthankar 2014-04-18 11:17 ` 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).