keep-alive option for sudo in portmaster

Doug Barton dougb at FreeBSD.org
Fri Aug 6 22:58:35 UTC 2010


On 08/06/2010 15:54, Anonymous wrote:
> 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.

I look forward to reviewing your patches to implement this feature. :)


Doug

-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/

	Computers are useless. They can only give you answers.
			-- Pablo Picasso



More information about the freebsd-ports mailing list