diff options
author | Glen Barber <gjb@FreeBSD.org> | 2016-04-04 23:55:32 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2016-04-04 23:55:32 +0000 |
commit | 18e46072de1bee4d12c5ed5ff012a750e727799a (patch) | |
tree | 1fc948e49f71ea1ba57698d345f9f36506bacf52 /pw/pw.8 | |
parent | 6e2ca26d6db1515099f1eedd3879c0ec850ea55f (diff) | |
parent | 9dae3f4246afa22f121c8526c729ce0fbd2b3ecd (diff) | |
download | pw-darwin-18e46072de1bee4d12c5ed5ff012a750e727799a.tar.gz pw-darwin-18e46072de1bee4d12c5ed5ff012a750e727799a.tar.zst pw-darwin-18e46072de1bee4d12c5ed5ff012a750e727799a.zip |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'pw/pw.8')
-rw-r--r-- | pw/pw.8 | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 14, 2015 +.Dd March 27, 2016 .Dt PW 8 .Os .Sh NAME @@ -420,18 +420,16 @@ Set the account's primary group to the given group. .Ar group may be defined by either its name or group number. .It Fl G Ar grouplist -Set additional group memberships for an account. +Set secondary group memberships for an account. .Ar grouplist -is a comma, space or tab-separated list of group names or group numbers. -The user's name is added to the group lists in -.Pa /etc/group , -and -removed from any groups not specified in -.Ar grouplist . -Note: a user should not be added to their primary group with +is a comma, space, or tab-separated list of group names or group numbers. +The user is added to the groups specified in +.Ar grouplist , +and removed from all groups not specified. +The current login session is not affected by group membership changes, +which only take effect when the user reconnects. +Note: do not add a user to their primary group with .Ar grouplist . -Also, group membership changes do not take effect for current user login -sessions, requiring the user to reconnect to be affected by the changes. .It Fl L Ar class This option sets the login class for the user being created. See |