OpenBSD manual page server

Manual Page Search Parameters

GROUPMOD(8) System Manager's Manual GROUPMOD(8)

groupmodmodify an existing group on the system

groupmod [-ov] [-g gid] [-n newname] group

The groupmod utility modifies an existing group. The options are as follows:

gid
Gives the numeric group identifier to be used for the new group.
newname
Gives the new name which the group shall have.
Allows the new group to have a GID which is already in use for another group.
Enables verbose mode - explain the commands as they are executed.

The groupmod utility exits 0 on success, and >0 if an error occurs.

group(5), groupadd(8), groupdel(8), groupinfo(8), user(8)

The groupmod utility first appeared in OpenBSD 2.7.

The groupmod utility was written by Alistair G. Crooks <agc@NetBSD.org>.

November 29, 2016 OpenBSD-current