From 36bb350e374a9f0b62b16c3c32c3bcec2e21ec6e Mon Sep 17 00:00:00 2001 From: Pau Amma Date: Sun, 25 Sep 2022 19:00:49 +0000 Subject: [PATCH] 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 % By pressing "Scroll Lock" you can use the arrow keys to scroll backward