pw: pw: Invalid min_uid: '2000'; ignoring

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Fri, 21 Aug 2015 15:48:13 +0200
Setting up on NanoBSD vi pw command an initial /etc/pw.conf (usermod -D), I use
amongst other options also:

-u 2000,32767 -i 2000,32767

which finally and successfully expands to

[...]
# Range of valid default user ids
minuid = 2000
maxuid = 32767

# Range of valid default group ids
mingid = 2000
maxgid = 32767
[...]

as expected.

Adding or changing now a user within such an environment gives me

pw: Invalid min_uid: '2000'; ignoring
pw: Invalid max_uid: '32767'; ignoring
pw: Invalid min_gid: '2000'; ignoring
pw: Invalid max_gid: '32767'; ignoring

which is obviously not correct.

Since pw has undergone severe maintenance, I consider this a bug.

Regards,

Oliver
Received on Fri Aug 21 2015 - 11:48:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC