]> git.cameronkatri.com Git - pw-darwin.git/commit
Add an example to pw.8 about how to add an existing user to a group.
authorBenedict Reuschling <bcr@FreeBSD.org>
Fri, 8 Feb 2019 22:10:40 +0000 (22:10 +0000)
committerBenedict Reuschling <bcr@FreeBSD.org>
Fri, 8 Feb 2019 22:10:40 +0000 (22:10 +0000)
commit5588f33210b9db0677764328640b9acddb9c83a0
tree915c4ba12c5357f59a371bb5bebe84f795e981e3
parentd144a8e142a926ef42e0793ec726e086567337f8
Add an example to pw.8 about how to add an existing user to a group.

Instead of using pw to modify group membership, users often edit
/etc/group by hand, which is discouraged.  Provide an example of
adding a user to the wheel group, which is a common use case.
I'm using a different user here as in the previous example as that
deleted the user (although the examples don't necessarily have to
be followed in order).

Reviewed by: rgrimes,0mp
Approved by: 0mp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D19123
pw/pw.8