public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
Date: Thu, 09 Feb 2012 11:05:00 -0000	[thread overview]
Message-ID: <20120209110446.GC23330@calimero.vinschen.de> (raw)
In-Reply-To: <4F336323.7010904@cwilson.fastmail.fm>

On Feb  9 01:09, Charles Wilson wrote:
> On 2/8/2012 3:30 PM, Corinna Vinschen wrote:
> >On Feb  8 13:12, Tom Schutter wrote:
> >>It appears that the "-v" option to passwd was changed to "-V" in
> >>cygwin-1.7.10.1.  This indirectly breaks the ssh-host-config script.
> >>The actual breakage is in the csih script.
> >>[...]
> >>$ grep "passwd -v" /usr/share/csih/cygwin-service-installation-helper.sh
> >>         passwd_has_expiry_flags=$(passwd -v | /usr/bin/awk '/^passwd
> >>/{print ( $3>=
> >>1.5 ) ? "yes" : "no";}')
> >
> >Chuck, can we please remove this test in csih amd release a new version
> >ASAP?  The expiry stuff is from 2003 so we can safely assume its
> >existence.
> 
> Especially as csih-0.9.x requires cygwin-1.7.
> 
> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
> 
> * native/Makefile: Avoid -mno-cygwin and gcc3; use mingw cross compiler.
> * native/winProductName.c (GetOSDisplayString): Support
>   Windows 8 and Windows Server 8. Improve support for various
>   Microsoft OS products.
> * New functions csih_is_windows8(), csih_is_exactly_windows8(),
>   and csih_is_exactly_windows8server().
> * In csih_account_has_necessary_privileges(), no longer attempt to
>   validate membership in Administrators group -- the test doesn't
>   work properly on domains anyway. Just try to set the necessary
>   rights and report error if the operation fails. Reported by
>   Corinna Vinschen.
> * In csih_create_privileged_user(), don't attempt to check whether
>   /usr/bin/passwd has the -e option; all versions of passwd shipped
>   with cygwin-1.7.x support it. Reported by Tom Schutter.
> * Fixed bug related to the various existing csih_is_exactly_*
>   functions.

Cool, thanks.  Additionally I added the -v option back to passwd so
that older csih scripts don't fail either for that reason.  It's
not visible in the usage but passwd diligently prints the version
information.  I've just generated a snapshot which contains this
change.  See the latest snapshot from http://cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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:[~2012-02-09 11:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 20:13 Tom Schutter
2012-02-08 20:30 ` Corinna Vinschen
2012-02-09  6:10   ` Charles Wilson
2012-02-09 11:05     ` Corinna Vinschen [this message]
2012-02-22 17:48       ` Andrew DeFaria
2012-02-22 20:56         ` Corinna Vinschen
2012-02-22 21:35           ` Andrew DeFaria
2012-02-23  0:12             ` Larry Hall (Cygwin)
2012-02-23  1:31               ` Andrew DeFaria
2012-02-23  1:46                 ` Larry Hall (Cygwin)
2012-02-23  4:45                   ` Andrew DeFaria
2012-02-23  5:02                     ` Larry Hall (Cygwin)
2012-02-23 14:40                       ` Andrew DeFaria
2012-02-23 15:05                 ` Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config] Charles Wilson
2012-02-24  3:19                   ` Peter A. Castro
2012-02-22 21:35         ` Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Charles Wilson
2012-02-23  8:47           ` Corinna Vinschen
2012-02-23 15:08             ` Charles Wilson

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=20120209110446.GC23330@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.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).