X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=doas.c;h=7757f49659969ab979367449feac2398f90a1cb0;hb=30bd833bc0118a182eaa609c815a533ae16a4cee;hp=f1a7c34e7b7372d942261a8d2a84175ad9ead38e;hpb=f9b39a6d16b27ac064c6791dbc641df11573b6ee;p=opendoas.git 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); }