Skip to content

Commit 9534267

Browse files
committed
config/users-and-groups: add OpenDoas section.
1 parent ec7496c commit 9534267

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/config/users-and-groups.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,23 @@ To create a superuser, uncomment the line
4343

4444
and add users to the `wheel` group.
4545

46+
## OpenDoas
47+
48+
As an alternative to sudo, Void also has
49+
[doas(1)](https://man.voidlinux.org/doas.1) available in the repositories as
50+
`opendoas`.
51+
52+
To enable basic superuser access, create `/etc/doas.conf` as root, add the line
53+
54+
```
55+
permit :wheel
56+
```
57+
58+
and add users to the `wheel` group.
59+
60+
For more advanced configuration options, refer to
61+
[doas.conf(5)](https://man.voidlinux.org/doas.conf.5).
62+
4663
## Default Groups
4764

4865
Void Linux defines a number of groups by default.

0 commit comments

Comments
 (0)