opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit 30bd833bc0118a182eaa609c815a533ae16a4cee
parent f9b39a6d16b27ac064c6791dbc641df11573b6ee
Author: tedu <tedu>
Date:   Sat,  3 Sep 2016 11:03:18 +0000

the sudo timeout was 5 minutes i believe, so we'll match that.

Diffstat:
Mdoas.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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); }