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

O. Hartmann ohartman at zedat.fu-berlin.de
Fri Aug 21 13:48:30 UTC 2015


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


More information about the freebsd-current mailing list