Closed todd-dsm closed 6 years ago
Remove the admin group and expand $USER; the result should be roughly:
# root and users in group wheel can run anything on any machine as any user ... #%admin ALL = (ALL) NOPASSWD: ALL "$USER" ALL = (ALL) NOPASSWD: ALL
bootstrap now drops a file, with the users username in /etc/sudoers.d/:
/etc/sudoers.d/
$ sudo cat /etc/sudoers.d/vagrant vagrant ALL=(ALL) NOPASSWD:ALL
Remove the admin group and expand $USER; the result should be roughly: