summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2019-02-08 22:10:40 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2019-02-08 22:10:40 +0000
commit76ab67765cfb3a27c6df12adef2e4995d201b3d2 (patch)
tree856cc8efb13658b79e7dc1cd174df2954950eb19 /pw/pw_user.c
parent68d1891dcd9562dd914b16bfb34223c430b16b3f (diff)
downloadpw-darwin-76ab67765cfb3a27c6df12adef2e4995d201b3d2.tar.gz
pw-darwin-76ab67765cfb3a27c6df12adef2e4995d201b3d2.tar.zst
pw-darwin-76ab67765cfb3a27c6df12adef2e4995d201b3d2.zip
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
Diffstat (limited to 'pw/pw_user.c')
0 files changed, 0 insertions, 0 deletions