From 9534267d1fd894d2d5a1acbc59416c2888a4246e Mon Sep 17 00:00:00 2001 From: 0x5c Date: Wed, 19 Jul 2023 22:38:38 -0400 Subject: [PATCH] config/users-and-groups: add OpenDoas section. --- src/config/users-and-groups.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/config/users-and-groups.md b/src/config/users-and-groups.md index 44988763e..2d596239c 100644 --- a/src/config/users-and-groups.md +++ b/src/config/users-and-groups.md @@ -43,6 +43,23 @@ To create a superuser, uncomment the line and add users to the `wheel` group. +## OpenDoas + +As an alternative to sudo, Void also has +[doas(1)](https://man.voidlinux.org/doas.1) available in the repositories as +`opendoas`. + +To enable basic superuser access, create `/etc/doas.conf` as root, add the line + +``` +permit :wheel +``` + +and add users to the `wheel` group. + +For more advanced configuration options, refer to +[doas.conf(5)](https://man.voidlinux.org/doas.conf.5). + ## Default Groups Void Linux defines a number of groups by default.