Closed brunowego closed 5 years ago
@brunowego %admin
stands for "admin" group so passwordless sudo for running a command that replaces hosts file is only available to "admin" group members. Is your user a member of "admin" group? Run groups
in terminal to see list of groups you're a member of. If "admin" is not there, either add yourself to "admin" group or use your username instead of %admin
in sudo configuration (without any prefix such as %
, just the username).
@brunowego oh, I didn't read through the issue description carefully. It's NFS exports that require sudo password, not vagrant-hostsupdater. This should help.
Thanks @kamazee :)
Following the references about "how by pass admin access to hosts", I created the follow instructions:
Even so, I continue getting the issue with password:
Perhaps is because I am using OS X Mojave and this approach is different for this OS?