keep-alive option for sudo in portmaster

Anonymous swell.k at
Fri Aug 6 15:06:21 UTC 2010

ashish at (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).

More information about the freebsd-ports mailing list