]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r343921:
authorbcr <bcr@FreeBSD.org>
Mon, 11 Feb 2019 17:48:52 +0000 (17:48 +0000)
committerbcr <bcr@FreeBSD.org>
Mon, 11 Feb 2019 17:48:52 +0000 (17:48 +0000)
commitdcc944785e97d7fef281f74ec06b1b025acecaea
tree84dd66c3811a361ed709a78ba9e57bce2ec16cfd
parent24f5a8e1144b3a040540a43f244559676caaa73c
MFC r343921:

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
Differential Revision: https://reviews.freebsd.org/D19123
usr.sbin/pw/pw.8