Johannes Schauer, on Sun 16 Oct 2016 03:53:38 +0200, wrote:
> Quoting Samuel Thibault (2016-10-15 18:43:36)
> > Johannes Schauer, on Wed 12 Oct 2016 15:35:29 +0200, wrote:
> > >
> > > sudo: no tty present and no askpass program specified
> > > E: read_command failed to execute env
> > > E: unable to open pipe
> > Perhaps you are missing adding your user to sudo without password?
> why would I want to use sudo without password? Is it required for using the
> sudo mode of sbuild?
At least on the buildds we do it. It seems sbuild uses sudo at various
steps, and they don't always have a tty to run.
> How do I enable it?
In /etc/sudoers.d/perso, I have
myuser ALL=NOPASSWD: ALL