From bdf4b9105bb3e472415ae31a069e6cc5579bdb9f Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sun, 22 Jan 2023 02:13:28 +0700 Subject: [PATCH] feat: add doas in archlinux --- docs/2022-12-25-archlinux.html | 17 +++++++++++++++++ posts/2022-12-25-archlinux.md | 15 +++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/docs/2022-12-25-archlinux.html b/docs/2022-12-25-archlinux.html index 29125bc..b78b761 100644 --- a/docs/2022-12-25-archlinux.html +++ b/docs/2022-12-25-archlinux.html @@ -560,6 +560,23 @@ useradd -m -G wheel -s /usr/bin/zsh -c " # Set password passwd joker +

+ doas (WIP) +

+
+
+pacman -Syu opendoas
+
+chown -c root:root /etc/doas.conf
+chmod -c 0400 /etc/doas.conf
+
+

Edit /etc/doas.conf (must end with a newline):

+
+
permit persist :wheel
+