Add note about using a separate file for sudoers

This commit is contained in:
Richard Quadling 2016-08-26 14:26:40 +01:00 committed by GitHub
parent 9c299a2a35
commit c7a1c681d0
1 changed files with 3 additions and 0 deletions

View File

@ -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