donnemartin/dev-setup

sudo timeouts during installs

Open

#15 aberto em 4 de fev. de 2016

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Python (1.162 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (5.984 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador