donnemartin/dev-setup

sudo timeouts during installs

Offen

#15 geöffnet am 04.02.2016

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.139 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (6.264 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Hi there,

Having run dev-setup on a few machines now (thanks! loving it so far) I've noticed that installs require typing the sudo password at various points, making unattended installs impossible.

A solution we used in Boxen for this problem was to ask for the user's sudo password at the beginning (using sudo -p) and periodically call sudo -p to prevent timeout or prompt the user again. Happy to put up a PR if you're interested.

Contributor Guide