Bug 207440 - NIS entry confuses chkgrp
Summary: NIS entry confuses chkgrp
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-23 16:08 UTC by A.J. "Fonz" van Werven
Modified: 2016-02-23 16:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A.J. "Fonz" van Werven 2016-02-23 16:08:06 UTC
Problem:

When /etc/group contains a line such as
   +:*::
chkgrp issues the following warning:
   /usr/sbin/chkgrp: /etc/group: line 34: strtoul failed
   /etc/group is fine
where line 34 is the one containing the NIS entry. This occurs regardless of whether the NIS entry is the last line in /etc/group.

To reproduce:

Add the line
   +:*::
to /etc/group on a NIS client and run /usr/sbin/chkgrp (or wait for periodic to do that).