rearrange shims
This commit is contained in:
parent
64e7f25252
commit
bb50e9050b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ sudo apt install curl unzip build-essential autoconf m4 libncurses5-dev libssh-d
|
||||||
|
|
||||||
Second, make sure that erlang and elixir (via asdf) is reachable from `sudo -Hu akkoma`:
|
Second, make sure that erlang and elixir (via asdf) is reachable from `sudo -Hu akkoma`:
|
||||||
```shell
|
```shell
|
||||||
echo 'Defaults>akkoma secure_path="/sbin:/bin:/usr/sbin:/usr/bin:/var/lib/akkoma/.asdf/shims"' > /etc/sudoers.d/custom_path
|
echo 'Defaults>akkoma secure_path="/var/lib/akkoma/.asdf/shims:/sbin:/bin:/usr/sbin:/usr/bin"' > /etc/sudoers.d/custom_path
|
||||||
```
|
```
|
||||||
|
|
||||||
Then login to the `akkoma` user.
|
Then login to the `akkoma` user.
|
||||||
|
|
Loading…
Reference in a new issue