[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



Interesting. How/when was the image generated? The vagrant plugin for bootstrap-vz uses (ALL): https://github.com/andsens/bootstrap-vz/blob/c94e172ea19f9e44314272deb3137d74253c9411/bootstrapvz/plugins/vagrant/tasks.py#L70

On Sun, May 31, 2015 at 9:06 AM Martey Dodoo <bugs.debian.org@marteydodoo.com> wrote:
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.


--
To UNSUBSCRIBE, email to debian-cloud-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20150531070205.15475.46983.reportbug@highcastle" target="_blank">https://lists.debian.org/[🔎] 20150531070205.15475.46983.reportbug@highcastle


Reply to: