Skip to content

[macOS] Lerd prompts for sudo access to install DNS sudoers rule every time lerd start is run. #1101

Description

@Sn0wCrack

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions