Setting global enviroment variables
Andrew Cid
andrew at accid.net
Tue Apr 8 20:00:41 UTC 2008
On Tue, Apr 08, 2008 at 06:31:27PM +0100, Matthew Seaman wrote:
>
> /etc/login.conf -- don't forget to run cap_mkdb after editing it.
>
Thanks, that's totally it. I added PACKAGEROOT to setenv in the default
class:
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,PACKAGEROOT=http\c//pkg.accid.net:\
I also had to comment out a line in sudoers to preserve the package
related variables:
Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR"
Now both, users and daemons are enjoying new packages.
Massive thanks for all replies,
Andrew
--
accid.net
More information about the freebsd-questions
mailing list