Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 2010 02:54:00 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: keep-alive option for sudo in portmaster
Message-ID:  <86iq3nfj3r.fsf@gmail.com>
In-Reply-To: <4C5C8425.5060702@FreeBSD.org> (Doug Barton's message of "Fri, 06 Aug 2010 14:52:37 -0700")
References:  <86y6cjke9i.fsf@gmail.com> <4C5C8425.5060702@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

Doug Barton <dougb@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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iq3nfj3r.fsf>