keep-alive option for sudo in portmaster

Ashish SHUKLA ashish at FreeBSD.org
Fri Aug 6 14:46:35 UTC 2010


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 ?

HTH
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“If tempted by something that feels "altruistic," examine your motives
and root out that self-deception. Then, if you still want to do it,
wallow in it!” (Robert A. Heinlein, 1973)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100806/642a44f0/attachment.pgp


More information about the freebsd-ports mailing list