keep-alive option for sudo in portmaster
swell.k at gmail.com
Fri Aug 6 22:54:13 UTC 2010
Doug Barton <dougb at FreeBSD.org> writes:
> On 08/06/2010 07:27, Anonymous wrote:
>> 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
>> would be enough to update time stamp. They're per tty by default, anyway.
> While I can sympathize with your situation, I think you'd be better off
> in this case running your portmaster commands in an actual root shell.
Wouldn't periodic hook be useful to smth else besides PM_SU_CMD? Like
sending time passed since current port build started to xterm title.
It may help to guess how long till it completes the build.
More information about the freebsd-ports