Date: Sun, 9 Oct 2022 00:20:00 GMT From: Pau Amma <pauamma@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 36bb350e374a - main - Update tip for adding a user to wheel: Message-ID: <202210090020.2990K0je098146@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210090020.2990K0je098146>