From: tedu Date: Sat, 3 Sep 2016 11:03:18 +0000 (+0000) Subject: the sudo timeout was 5 minutes i believe, so we'll match that. X-Git-Tag: v6.6~77 X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=commitdiff_plain;h=30bd833bc0118a182eaa609c815a533ae16a4cee the sudo timeout was 5 minutes i believe, so we'll match that. --- diff --git a/doas.c b/doas.c index f1a7c34..7757f49 100644 --- a/doas.c +++ b/doas.c @@ -261,7 +261,7 @@ authuser(char *myname, char *login_style, int persist) explicit_bzero(rbuf, sizeof(rbuf)); good: if (fd != -1) { - int secs = 10 * 60; + int secs = 5 * 60; ioctl(fd, TIOCSETVERAUTH, &secs); close(fd); }