CVSROOT:        /cvs
Module name:    src
Changes by:     mes...@cvs.openbsd.org  2016/11/30 03:42:38

Modified files:
        usr.sbin/user  : user.c 

Log message:
According to usermod(8) manpage if -g =uid is used it should create a new group
with an unique UID, if it's not already created (not in the manpage), but this
wasn't implemented.
This implements that functionality similar to what NetBSD has, but with some
corrections by adding a fd closure in case of failure and on the failure
message itself which they got it wrong.

OK tb@

Reply via email to