Date: Fri, 06 Aug 2010 19:05:46 +0400 From: Anonymous <swell.k@gmail.com> To: ashish@FreeBSD.org (Ashish SHUKLA) Cc: freebsd-ports@freebsd.org Subject: Re: keep-alive option for sudo in portmaster Message-ID: <86hbj7ixx1.fsf@gmail.com> In-Reply-To: <86zkwzu7cx.fsf@chateau.d.if> (Ashish SHUKLA's message of "Fri, 06 Aug 2010 20:16:22 %2B0530") References: <86y6cjke9i.fsf@gmail.com> <86zkwzu7cx.fsf@chateau.d.if>
next in thread | previous in thread | raw e-mail | index | archive | help
ashish@FreeBSD.org (Ashish SHUKLA) writes: > Anonymous writes: >> While updating ports some take a long time to compile and when it >> finally comes time to install I need to type password again. >> Is there an option to prevent that? Smth like running > >> $ sudo true > > How about using `timestamp_timeout` option in sudoers(5) ? OR maybe using > NOPASSWD in sudoers for that specific command ? Looking at sudoers(5) it doesn't seem that I can easily use different settings per tty. And I'm *satisfied* with default timeout. Increasing timeout or not using password is more insecure than preventing timestamp from expiring in an isolated tty (screen/tmux).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hbj7ixx1.fsf>