List Info

Thread: Re: pkgsrc.txt and sudo




Re: pkgsrc.txt and sudo
country flaguser name
United States
2007-05-01 06:41:16
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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )