HEADSUP: New getent tool to read passwd and group data

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Feb 20 19:38:00 GMT 2014


Hi guys,


I just uploaded the new getent package and sent the announcement,

I'm repeating myself here because this is really important and I'm
not sure everybody on this list reads the cygwin and cygwin-announce
lists.

In short, we want to get rid of the requirement to maintain /etc/passwd
and /etc/group files, per
http://cygwin.com/ml/cygwin/2014-02/msg00306.html

In future, tools and scripts, especially service installation helper
scripts like my ssh-host-config, must not rely on being able to grep
user and group information from /etc/passwd and /etc/group.

Rather, the scripts should be changed to use the getent tool as soon
as possible.  Usage for checking passwd:

  $ getent passwd <username...>

I'd like to ask all maintainers providing such scripts, including
myself, to look into their packages and fix them to use the getent tool.


Thanks,
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-apps/attachments/20140220/ab7f8d84/attachment.sig>


More information about the Cygwin-apps mailing list