delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/20/14:24:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:date:from:to:subject:message-id
:mime-version:content-type; q=dns; s=default; b=uDXV75g1tGKPe1iE
uTlEsPGgSug4+tuh47BcidXQVE6/fruixBfZ0vGif9uFuqV4jqX6YMZFtQXPWioK
/2y6LTL19R3b3eoX2TtxbPLNBBC/ak8U0FS+i3+wuxpFSVy1mX8b3uYvPMVUw8Wg
/DuXVcvBTEfP+pinO08Puidulio=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:date:from:to:subject:message-id
:mime-version:content-type; s=default; bh=Ld/o1VpucTP3cX5xv77atX
DwsNY=; b=bDTzMbd0VoozVSNoYfUduMd9orzomrnImLr7KdBUqiyJ6pKy0LI37Z
eIBuRwqUu7LAX1I3MSoCg+I7dwqCJWb9DpFO8fYGUuWCKh1d6g4/CR6QnRQhNqWY
8s08gYq+qpjnc/0tJj6dPddYy6YrCNQmGjtZFXxEseIyNFE3Q9Vf0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-HELO: localhost.localdomain
Reply-To: cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
Date: Thu, 20 Feb 2014 20:19:20 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: [ANNOUNCEMENT] New package: getent-2.18.90-1
Message-Id: <announce.20140220191920.GS2246@calimero.vinschen.de>
MIME-Version: 1.0
User-Agent: Mutt/1.5.21 (2010-09-15)

Hi folks,


I just uploaded the new getent package to the 32 and 64 bit distros.

getent is a Glibc tool which allows to fetch host, passwd, group,
protocol, and service information via a simple tool.

=====================================================================
        IMPORTANT (not only) FOR CYGWIN PACKAGE MAINTAINERS
=====================================================================

The most important aspect for Cygwin for the near future is this:

With the new passwd/group code just in testing (see
http://cygwin.com/ml/cygwin/2014-02/msg00306.html for lots and lots
of information), tools and scripts must not rely anymore on being able
to grep user and group information from /etc/passwd and /etc/group!

The new way to read passwd and group information from, for instance,
service installation helper scripts, is to use the getent tool for
this purpose.

I'd like to urge all maintainers which provide such scripts to look
into their packages and fix them to use the getent tool, rather than
grep'ing /etc/passwd and /etc/group directly.
=====================================================================


Have fun,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019