[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.4

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Oct 29 20:03:00 GMT 2014


On Oct 29 19:27, Habermann, Dave (DA) wrote:
> Using the new AD system, and trying to regenerate ssh keys using
> ssh-user-config I find that I'm getting an error.  I've traced the
> issue to a line in the /bin/ssh-user-config file:
> 
>   pwdhome=$(awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd)

Ouch.  I missed that when scanning the ssh scripts.

Reminder to myself:  Update ssh-user-config to use getent(1) instead
of checking the passwd file.

Sorry, but I'm pretty sure this isn't the only place in the distro
still checking the passwd and group files :(


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141029/cc5c30e4/attachment.sig>


More information about the Cygwin mailing list