hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.27k stars 4.43k forks source link

sudo is asking password very late #8460

Closed tncyysl closed 7 years ago

tncyysl commented 7 years ago

i want to manage paswordless and then i'm adding below lines in the sudoers file,

Cmnd_Alias VAGRANT_HOSTS = /bin/cp /Users/Tuncay/.vagrant.d/tmp/hosts.local /etc/hosts %sudo ALL=(root) NOPASSWD: VAGRANT_HOSTS

but i've problems when i use sudo that almost get reaction 3-5 after minutes..

if i add comment, it's work!

➜  ~ vagrant -v
Vagrant 1.9.3
➜  ~ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.12.4
BuildVersion:   16E195
chrisroberts commented 7 years ago

Hi there,

Thank you for opening an issue. However, there is not enough information here to reproduce or provide a recommendation. When you first open an issue, a template is pre-filled in the box. That template provides instructions for getting your host and guest information, the version of Vagrant, and the debug output. Without that information, it is very challenging for us to assist you.

Please supply that information either by updating this ticket or by closing this ticket and opening a new one. Thank you! 😄

tncyysl commented 7 years ago

Hello!

Thank you for assist this issue & information. But i fixed temporarily when i added in the line below.

Defaults timestamp_timeout=5 👍🏽

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.