CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/12/04 01:28:35
Modified files:
usr.sbin/user : user.c usermod.8
Log message:
Add a new '-S' option to _set_ the user's secondary group(s) (which also
permits to remove a user from a group).
It uses the same syntax as `-G'.
In practice this works like `-G' on Linux; it was decided not to modify
our `-G' option because people rely on the existing behavior (which
works like `-aG' on Linux, i.e. append to group).
Reworked from scratch from a submission by Frank Brodbeck.
man page bits reviewed by jmc@
ok miod@