After the latest update and running lerd start I went through the prompts of installing the new sudoers rule file.
I've noticed no matter what running lerd start appears to prompt me to install the DNS sudoers rule.
I usually use lerd start as a mechanism to sort of flush things out and hard restart queue workers and schedulers.
The rule is present under /etc/sudoers.d/lerd and running a sha256sum on the file yields the same value as what is present under ~/.local/share/lerd/sudoers.sha256:
❯ cat ~/.local/share/lerd/sudoers.sha256
─────┬─────────────────────────────────────────────────────────────────────────────────────────────
│ File: /Users/kdonaldson/.local/share/lerd/sudoers.sha256
─────┼─────────────────────────────────────────────────────────────────────────────────────────────
1 │ d7d5a13ceda31dac34de9c2dde5ddba88ac3bb76b02d5de71a8ae34d269fc2be
─────┴─────────────────────────────────────────────────────────────────────────────────────────────
❯ sha256sum /etc/sudoers.d/lerd
d7d5a13ceda31dac34de9c2dde5ddba88ac3bb76b02d5de71a8ae34d269fc2be /etc/sudoers.d/lerd
Changing the permission on the rule file to 0644 to enable reading the file for all users doesn't change this either.
I am running Lerd in a restricted environment where my user does not have native privileges to escalate via sudo (user is not in the admin group) and requires Privileges to escalate.
After the latest update and running
lerd startI went through the prompts of installing the new sudoers rule file.I've noticed no matter what running
lerd startappears to prompt me to install the DNS sudoers rule.I usually use
lerd startas a mechanism to sort of flush things out and hard restart queue workers and schedulers.The rule is present under
/etc/sudoers.d/lerdand running asha256sumon the file yields the same value as what is present under~/.local/share/lerd/sudoers.sha256:❯ cat ~/.local/share/lerd/sudoers.sha256 ─────┬───────────────────────────────────────────────────────────────────────────────────────────── │ File: /Users/kdonaldson/.local/share/lerd/sudoers.sha256 ─────┼───────────────────────────────────────────────────────────────────────────────────────────── 1 │ d7d5a13ceda31dac34de9c2dde5ddba88ac3bb76b02d5de71a8ae34d269fc2be ─────┴───────────────────────────────────────────────────────────────────────────────────────────── ❯ sha256sum /etc/sudoers.d/lerd d7d5a13ceda31dac34de9c2dde5ddba88ac3bb76b02d5de71a8ae34d269fc2be /etc/sudoers.d/lerdChanging the permission on the rule file to
0644to enable reading the file for all users doesn't change this either.I am running Lerd in a restricted environment where my user does not have native privileges to escalate via sudo (user is not in the
admingroup) and requires Privileges to escalate.