HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

g
groupmod(1M) groupmod(1M)
9 group is not unique.
10 Cannot modify the /etc/group file.
11 /etc/passwd
file or /etc/ptmp file busy. Another command may be modifying the
/etc/passwd file.
12 Unable to open /etc/ptmp file or the
/etc/passwd file is non-existent.
20 Exceeding permissible limit of maximum members in a group. The
/etc/group file is not
modified.
EXAMPLES
Change the group ID of the group
project2
to 111 in the file /etc/group if the group project2
exists. This is done even if the group ID
111 is already in use.
groupmod -g 111 -o project2
Change the name of project2 to project22
in the file /etc/group if the group project22 does
not already exist.
groupmod -n project22 project2
WARNINGS
Because many users try to write to the /etc/passwd file simultaneously, a password locking mechanism
was devised. If this locking fails after subsequent retrying, groupmod terminates.
FILES
/etc/group
/etc/ptmp
SEE ALSO
users(1), groupadd(1M), groupdel(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4).
STANDARDS CONFORMANCE
groupmod: SVID3
294 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007