[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787301: cloud.debian.org: Vagrant base box does not follow passwordless sudo recommendations



Package: cloud.debian.org
Severity: important

In Vagrant's base box recommendations at
https://docs.vagrantup.com/v2/boxes/base.html, they recommend using the
following configuration for password-less sudo:

    vagrant ALL=(ALL) NOPASSWD: ALL

However, the current Vagrant base boxes for Debian use:

    vagrant ALL=NOPASSWD:ALL

This has the side effect of making commands that use sudo with a different user
account (e.g. `sudo -u postgres psql`) ask for a password, which can cause
certain provisioning commands to fail.


Reply to: