git: 36bb350e374a - main - Update tip for adding a user to wheel:

From: Pau Amma <pauamma_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 00:20:00 UTC
The branch main has been updated by pauamma (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=36bb350e374a9f0b62b16c3c32c3bcec2e21ec6e

commit 36bb350e374a9f0b62b16c3c32c3bcec2e21ec6e
Author:     Pau Amma <pauamma@FreeBSD.org>
AuthorDate: 2022-09-25 19:00:49 +0000
Commit:     Pau Amma <pauamma@FreeBSD.org>
CommitDate: 2022-10-09 00:15:15 +0000

    Update tip for adding a user to wheel:
    
    Use "pw groupmod" instead of hand-editing /etc/group
    
    Reviewed by:    bcr, gjb
    
    Approved by:    gjb (mentor)
---
 usr.bin/fortune/datfiles/freebsd-tips | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips
index 930110a0c3fe..dd2c3cfb0495 100644
--- a/usr.bin/fortune/datfiles/freebsd-tips
+++ b/usr.bin/fortune/datfiles/freebsd-tips
@@ -1,5 +1,6 @@
 Any user that is a member of the wheel group can use "su -" to simulate
-a root login. You can add a user to the wheel group by editing /etc/group.
+a root login. You can add a user to the wheel group with:
+pw groupmod -n wheel -m user_name 
 		-- Konstantinos Konstantinidis <kkonstan@duth.gr>
 %
 By pressing "Scroll Lock" you can use the arrow keys to scroll backward