Add note about using a separate file for sudoers
This commit is contained in:
parent
9c299a2a35
commit
c7a1c681d0
|
@ -181,6 +181,9 @@ Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /bin/sed -r -e * d -ibak /tmp/exports
|
|||
%vagrant ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY, VAGRANT_EXPORTS_REMOVE
|
||||
```
|
||||
|
||||
If you don't want to edit `/etc/sudoers` directly, you can create
|
||||
`/etc/sudoers.d/vagrant-syncedfolders` with the appropriate entries.
|
||||
|
||||
## Other Notes
|
||||
|
||||
**Encrypted folders:** If you have an encrypted disk, then NFS very often
|
||||
|
|
Loading…
Reference in New Issue