Aleksey Cheusov wrote:
> I'm not sure this mailing list is a right place for
reporting bugs(?)
> in pkgsrc documentation.
>
> pkgsrc.txt:
> 8.13. Using 'sudo' with pkgsrc
>
> When installing packages as non-root user su(1)
feature of
> pkgsrc, it can become annoying to type in the
root password for
> each required package installed. To avoid this,
the sudo
> package can be used, which does password caching
over a limited
> time. To use it, install sudo (either as binary
package or from
> security/sudo) and then put the following into
your /etc
> /mk.conf:
>
> .if exists($/bin/sudo)
> SU_CMD= $/bin/sudo /bin/sh -c
> .endif
You need to define LOCALBASE _before_ including this
snippet. I'm
updating the pkgsrc guide to say that.
Roland
|