feat: add doas in archlinux
parent
32e6a59d8b
commit
bdf4b9105b
|
@ -560,6 +560,23 @@ useradd -m -G wheel -s /usr/bin/zsh -c <span class="pl-s"><span class="pl-pds">"
|
|||
<span class="pl-c"><span class="pl-c">#</span> Set password</span>
|
||||
passwd joker</pre>
|
||||
</div>
|
||||
<p>
|
||||
<a href="https://wiki.archlinux.org/title/Doas" rel="nofollow"
|
||||
>doas (WIP)</a
|
||||
>
|
||||
</p>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre>
|
||||
pacman -Syu opendoas
|
||||
|
||||
chown -c root:root /etc/doas.conf
|
||||
chmod -c 0400 /etc/doas.conf</pre
|
||||
>
|
||||
</div>
|
||||
<p>Edit <code>/etc/doas.conf</code> (must end with a newline):</p>
|
||||
<div class="highlight highlight-text-adblock">
|
||||
<pre>permit persist :wheel</pre>
|
||||
</div>
|
||||
<p>
|
||||
<a
|
||||
href="https://wiki.archlinux.org/index.php/Systemd-homed"
|
||||
|
|
|
@ -324,6 +324,21 @@ useradd -m -G wheel -s /usr/bin/zsh -c "The Joker" joker
|
|||
passwd joker
|
||||
```
|
||||
|
||||
[doas (WIP)](https://wiki.archlinux.org/title/Doas)
|
||||
|
||||
```sh
|
||||
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):
|
||||
|
||||
```txt
|
||||
permit persist :wheel
|
||||
```
|
||||
|
||||
[systemd-homed (WIP)](https://wiki.archlinux.org/index.php/Systemd-homed):
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Reference in New Issue