[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911157: lintian: complain about grepping the passwd/group file instead of using getent



Dear Rhonda,

Thank you for filing this.

> https://sources.debian.org/src/proftpd-dfsg/1.3.5d-1/debian/proftpd-basic.postinst/?hl=28#L28
> is an example from our pool, but there are more.

This example:

  https://github.com/FRRouting/frr/blob/master/debianpkg/frr.postinst#L4-L9

… is also relevant but may not be as-reliably detectable. However, to
quote IRC:

  * h01ger agrees that any reference to /etc/passwd or /etc/group is
    very probably a bug


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: