Closed jandubois closed 43 minutes ago
We need to validate the paths before we generate a sudoers file.
Lima would not execute commands when they are insecure, but another app or user could once they are configured in /etc/sudoers.d. So it is best not to generate an insecure file at all.
/etc/sudoers.d
Fixes #2663
Sorry for the churn, but the initial PR was not correct.
I believe it is fixed now and ready for review.
We need to validate the paths before we generate a sudoers file.
Lima would not execute commands when they are insecure, but another app or user could once they are configured in
/etc/sudoers.d
. So it is best not to generate an insecure file at all.Fixes #2663