From 30bd833bc0118a182eaa609c815a533ae16a4cee Mon Sep 17 00:00:00 2001 From: tedu Date: Sat, 3 Sep 2016 11:03:18 +0000 Subject: [PATCH] the sudo timeout was 5 minutes i believe, so we'll match that. --- doas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2