Skip to content

Commit f3e6363

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

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/config/users-and-groups.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ 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 [doas(1)](https://man.voidlinux.org/doas.1) available in the repositories as `opendoas`.
49+
50+
To enable basic superuser access, create `/etc/doas.conf` as root, add the line
51+
52+
```
53+
permit :wheel
54+
```
55+
56+
and add users to the `wheel` group.
57+
58+
For more advanced configuration options, refer to [doas.conf(5)](https://man.voidlinux.org/doas.conf.5).
59+
4660
## Default Groups
4761

4862
Void Linux defines a number of groups by default.

0 commit comments

Comments
 (0)